alsa.audio: build the bridge link lib only for linux architecture
[AROS.git] / arch / all-unix / hidd / serial / unix_funcs.c
blob9e19345b2d2b71bc6c566c5427e1fe008872c153
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 /* Some POSIX includes */
7 #include <sys/types.h>
8 #include <sys/stat.h>
9 #include <fcntl.h>
10 #include <stdio.h>
11 #include <termios.h>
12 #include <unistd.h>
15 * Some wrapper functions for the unix functions.
16 * Some of the constants have to be brought in here
17 * because they clash with AROS constants otherwise.
20 int unix_open_nonblock(const char * pathname)
22 return open(pathname, O_NONBLOCK|O_RDWR);