c-to-scm.texi 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. @node POSIX C to Scheme correspondence
  2. @section C to Scheme correspondence
  3. @table @code
  4. @item access
  5. @code{accessible?}
  6. @item chdir
  7. @code{set-working-directory!}
  8. @item close
  9. @code{close-input-port, close-output-port, close-channel, close-socket}
  10. @item closedir
  11. @code{close-directory-stream}
  12. @item creat
  13. @code{open-file}
  14. @item ctime
  15. @code{time->string}
  16. @item dup
  17. @code{dup, dup-switching-mode}
  18. @item dup2
  19. @code{dup2}
  20. @item exec[l|v][e|p|eps]
  21. @code{exec, exec-with-environment, exec-file, exec-file-with-environment, exec-with-alias}
  22. @item _exit
  23. @code{exit}
  24. @item fcntl
  25. @code{i/o-flags, set-i/o-flags!, close-on-exec?, set-close-on-exec?!}
  26. @item fork
  27. @code{fork, fork-and-forget}
  28. @item fstat
  29. @code{get-port-info}
  30. @item getcwd
  31. @code{working-directory}
  32. @item getegid
  33. @code{get-effective-group-id}
  34. @item getenv
  35. @code{lookup-environment-variable, environment-alist}
  36. @item geteuid
  37. @code{get-effective-user-id}
  38. @item getgid
  39. @code{get-group-id}
  40. @item getgroups
  41. @code{get-login-name}
  42. @item getpid
  43. @code{get-process-id}
  44. @item getppid
  45. @code{get-parent-process-id}
  46. @item getuid
  47. @code{get-user-id}
  48. @item isatty
  49. @code{port-is-a-terminal?}
  50. @item link
  51. @code{link}
  52. @item lstat
  53. @code{get-file/link-info}
  54. @item mkdir
  55. @code{make-directory}
  56. @item mkfifo
  57. @code{make-fifo}
  58. @item open
  59. @code{open-file}
  60. @item opendir
  61. @code{open-directory-stream}
  62. @item pipe
  63. @code{open-pipe}
  64. @item read
  65. @code{read-char, read-block}
  66. @item readdir
  67. @code{read-directory-stream}
  68. @item rename
  69. @code{rename}
  70. @item rmdir
  71. @code{remove-directory}
  72. @item setgid
  73. @code{set-group-id!}
  74. @item setuid
  75. @code{set-user-id!}
  76. @item stat
  77. @code{get-file-info}
  78. @item time
  79. @code{current-time}
  80. @item ttyname
  81. @code{port-terminal-name}
  82. @item umask
  83. @code{set-file-creation-mask!}
  84. @item uname
  85. @code{os-name, os-node-name, os-release-name, os-version-name, machine-name}
  86. @item unlink
  87. @code{unlink}
  88. @item waitpid
  89. @code{wait-for-child-process}
  90. @item write
  91. @code{write-char, write-block}
  92. @end table