/* <unistd.h>
 *
 *	This is mostly just a placeholder, without the POSIX stuff.
 */
#ifndef _UNISTD_H
#define _UNISTD_H

#include <sys/types.h>
#include <unixlib.h>
#include <unixio.h>

#ifndef NULL
#define NULL 0
#endif

#define STDIN_FILENO	0
#define STDOUT_FILENO	1
#define STDERR_FILENO	2

/* these are also in <stdio.h> */
#define SEEK_SET 0
#define SEEK_CUR 1
#define SEEK_END 2

/* these are also in <file.h> */
#define F_OK	0	/* test whether file exists */
#define X_OK	1	/* test execute access */
#define W_OK	2	/* test write access */
#define R_OK	4	/* test read access */

#endif	/*_UNISTD_H*/