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