1 /*
2  *	$Id: unistd.h $
3  */
4 
5 #ifndef __UNISTD_H__
6 #define __UNISTD_H__
7 
8 #include <sys/compiler.h>
9 #include <sys/types.h>
10 
11 extern char *environ[];
12 #define isatty(fd) fchkstd(fd)
13 #define unlink(a) remove(a)
14 
15 
16 /* Archaic version of execl(), used in the earlier C implementations */
17 /* At the moment only CP/M is supported with a single "argument", the original fn name was exec() */
18 extern int __LIB__ execl (const char *command, const char *args) __smallc;
19 
20 /* (Work in progress): Execute a command passing the argument structure */
21 extern int __LIB__ execv (const char *command, char *args[]) __smallc;
22 
23 
24 
25 #endif
26