+#ifndef _AIO_H
#include <rt/aio.h>
+
+/* Now define the internal interfaces. */
+extern void __aio_init __P ((__const struct aioinit *__init));
+#endif
/* Allow user to specify optimization. */
#ifdef __USE_GNU
-extern void __aio_init __P ((__const struct aioinit *__init));
extern void aio_init __P ((__const struct aioinit *__init));
#endif
struct statfs fsbuf;
/* Determine the filesystem type. */
- if (__statfs (fd, &fsbuf) < 0)
+ if (__statfs (path, &fsbuf) < 0)
/* not possible, return the default value. */
return LINK_MAX;
#define O_NDELAY O_NONBLOCK
-/* XXX missing */
-#define O_LARGEFILE 0
-
/* Values for the second argument to `fcntl'. */
#define F_DUPFD 0 /* Duplicate file descriptor. */
#define F_GETFD 1 /* Get file descriptor flags. */