unistd.h 534 Bytes
Newer Older
Geoff Voelker's avatar
Geoff Voelker committed
1
/* Fake unistd.h: config.h already provides most of the relevant things. */
Miles Bader's avatar
Miles Bader committed
2

3 4 5
#ifndef _UNISTD_H
#define _UNISTD_H

6 7 8 9 10
/* On Microsoft platforms, <stdlib.h> declares 'environ'; on POSIX
   platforms, <unistd.h> does.  Every file in Emacs that includes
   <unistd.h> also includes <stdlib.h>, so there's no need to declare
   'environ' here.  */

11 12
extern ssize_t readlink (const char *, char *, size_t);
extern int symlink (char const *, char const *);
13 14
extern int setpgid (pid_t, pid_t);
extern pid_t getpgrp (void);
15 16

#endif	/* _UNISTD_H */