1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

Doc for getsid

* NEWS: Note new getsid primitive.

* doc/ref/posix.texi (Processes): Document getsid.
This commit is contained in:
Neil Jerram 2009-12-27 18:44:41 +00:00
parent 3e5aed1c3b
commit 211a5b0425
2 changed files with 13 additions and 0 deletions

7
NEWS
View file

@ -8,6 +8,13 @@ Please send Guile bug reports to bug-guile@gnu.org.
(During the 1.9 series, we will keep an incremental NEWS for the latest
prerelease, and a full NEWS corresponding to 1.8 -> 2.0.)
Changes in 1.9.7 (since the 1.9.6 prerelease):
** New primitive `getsid'
Scheme binding for the `getsid' C library call.
Changes in 1.9.6 (since the 1.9.5 prerelease):
** New implementation of `primitive-eval'

View file

@ -1596,6 +1596,12 @@ from its controlling terminal if it has one.
The return value is an integer representing the new process group ID.
@end deffn
@deffn {Scheme Procedure} getsid pid
@deffnx {C Function} scm_getsid (pid)
Returns the session ID of process @var{pid}. (The session
ID of a process is the process group ID of its session leader.)
@end deffn
@deffn {Scheme Procedure} waitpid pid [options]
@deffnx {C Function} scm_waitpid (pid, options)
This procedure collects status information from a child process which