Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.08 KB | None | 0 0
  1. _PROTOTYPE( long sysconf, (int _name)                   );
  2. _PROTOTYPE( pid_t tcgetpgrp, (int _fd)                  );
  3. _PROTOTYPE( int tcsetpgrp, (int _fd, pid_t _pgrp_id)            );
  4. _PROTOTYPE( char *ttyname, (int _fd)                    );
  5. _PROTOTYPE( int unlink, (const char *_path)             );
  6. _PROTOTYPE( ssize_t write, (int _fd, const void *_buf, size_t _n)   );
  7. _PROTOTYPE( ssize_t pwrite, (int _fd, const void *_buf, size_t _n, off_t _offset));
  8. _PROTOTYPE( int truncate, (const char *_path, off_t _length)        );
  9. _PROTOTYPE( int ftruncate, (int _fd, off_t _length)         );
  10. _PROTOTYPE( int nice, (int _incr)                   );
  11. _PROTOTYPE( int getProcName, (int index, char *namestr)         );
  12.  
  13. /* Open Group Base Specifications Issue 6 (not complete) */
  14. _PROTOTYPE( int symlink, (const char *path1, const char *path2)     );
  15. _PROTOTYPE( int readlink, (const char *, char *, size_t)        );
  16. _PROTOTYPE( int getopt, (int _argc, char * const _argv[], char const *_opts)        );
  17. extern char *optarg;
  18. extern int optreset;    /* Reset getopt state */
  19. extern int optind, opterr, optopt;
  20. _PROTOTYPE( int usleep, (useconds_t _useconds)              );
  21.  
  22. _PROTOTYPE( int brk, (char *_addr)                  );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement