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