posix.h 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /* classes: h_files */
  2. #ifndef SCM_POSIX_H
  3. #define SCM_POSIX_H
  4. /* Copyright (C) 1995,1996,1997,1998,2000,2001, 2003, 2006 Free Software Foundation, Inc.
  5. *
  6. * This library is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 2.1 of the License, or (at your option) any later version.
  10. *
  11. * This library is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with this library; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. */
  20. #include "libguile/__scm.h"
  21. SCM_API SCM scm_tcsetpgrp (SCM port, SCM pgid);
  22. SCM_API SCM scm_tcgetpgrp (SCM port);
  23. SCM_API SCM scm_ctermid (void);
  24. SCM_API SCM scm_setsid (void);
  25. SCM_API SCM scm_setpgid (SCM pid, SCM pgid);
  26. SCM_API SCM scm_pipe (void);
  27. SCM_API SCM scm_getgroups (void);
  28. SCM_API SCM scm_setgroups (SCM groups);
  29. SCM_API SCM scm_getpgrp (void);
  30. SCM_API SCM scm_getpwuid (SCM user);
  31. SCM_API SCM scm_setpwent (SCM arg);
  32. SCM_API SCM scm_getgrgid (SCM name);
  33. SCM_API SCM scm_setgrent (SCM arg);
  34. SCM_API SCM scm_kill (SCM pid, SCM sig);
  35. SCM_API SCM scm_waitpid (SCM pid, SCM options);
  36. SCM_API SCM scm_status_exit_val (SCM status);
  37. SCM_API SCM scm_status_term_sig (SCM status);
  38. SCM_API SCM scm_status_stop_sig (SCM status);
  39. SCM_API SCM scm_getppid (void);
  40. SCM_API SCM scm_getuid (void);
  41. SCM_API SCM scm_getgid (void);
  42. SCM_API SCM scm_geteuid (void);
  43. SCM_API SCM scm_getegid (void);
  44. SCM_API SCM scm_setuid (SCM uid);
  45. SCM_API SCM scm_setgid (SCM gid);
  46. SCM_API SCM scm_seteuid (SCM euid);
  47. SCM_API SCM scm_setegid (SCM egid);
  48. SCM_API SCM scm_ttyname (SCM port);
  49. SCM_API SCM scm_execl (SCM filename, SCM args);
  50. SCM_API SCM scm_execlp (SCM filename, SCM args);
  51. SCM_API SCM scm_execle (SCM filename, SCM env, SCM args);
  52. SCM_API SCM scm_fork (void);
  53. SCM_API SCM scm_uname (void);
  54. SCM_API SCM scm_environ (SCM env);
  55. SCM_API SCM scm_tmpnam (void);
  56. SCM_API SCM scm_mkstemp (SCM tmpl);
  57. SCM_API SCM scm_open_pipe (SCM pipestr, SCM modes);
  58. SCM_API SCM scm_close_pipe (SCM port);
  59. SCM_API SCM scm_utime (SCM pathname, SCM actime, SCM modtime);
  60. SCM_API SCM scm_access (SCM path, SCM how);
  61. SCM_API SCM scm_getpid (void);
  62. SCM_API SCM scm_putenv (SCM str);
  63. SCM_API SCM scm_setlocale (SCM category, SCM locale);
  64. SCM_API SCM scm_mknod (SCM path, SCM type, SCM perms, SCM dev);
  65. SCM_API SCM scm_nice (SCM incr);
  66. SCM_API SCM scm_sync (void);
  67. SCM_API SCM scm_crypt (SCM key, SCM salt);
  68. SCM_API SCM scm_chroot (SCM path);
  69. SCM_API SCM scm_getlogin (void);
  70. SCM_API SCM scm_cuserid (void);
  71. SCM_API SCM scm_getpriority (SCM which, SCM who);
  72. SCM_API SCM scm_setpriority (SCM which, SCM who, SCM prio);
  73. SCM_API SCM scm_getpass (SCM prompt);
  74. SCM_API SCM scm_flock (SCM file, SCM operation);
  75. SCM_API SCM scm_sethostname (SCM name);
  76. SCM_API SCM scm_gethostname (void);
  77. SCM_API void scm_init_posix (void);
  78. #endif /* SCM_POSIX_H */
  79. /*
  80. Local Variables:
  81. c-file-style: "gnu"
  82. End:
  83. */