Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

unistd.h 558B

12345678910111213141516171819202122232425
  1. #ifndef _UNISTD_H
  2. #define _UNISTD_H
  3. #include <stddef.h>
  4. #include <stdarg.h>
  5. extern unsigned int sleep ( unsigned int seconds );
  6. extern int execv ( const char *command, char * const argv[] );
  7. /**
  8. * Execute command
  9. *
  10. * @v command Command name
  11. * @v arg ... Argument list (starting with argv[0])
  12. * @ret rc Command exit status
  13. *
  14. * This is a front end to execv().
  15. */
  16. #define execl( command, arg, ... ) ( { \
  17. char * const argv[] = { (arg), ## __VA_ARGS__ }; \
  18. int rc = execv ( (command), argv ); \
  19. rc; \
  20. } )
  21. #endif /* _UNISTD_H */