From 211a5b04251424f17f659257718329af7a3cdc0c Mon Sep 17 00:00:00 2001 From: Neil Jerram Date: Sun, 27 Dec 2009 18:44:41 +0000 Subject: [PATCH] Doc for getsid * NEWS: Note new getsid primitive. * doc/ref/posix.texi (Processes): Document getsid. --- NEWS | 7 +++++++ doc/ref/posix.texi | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/NEWS b/NEWS index 662b3a908..ccae5f7d0 100644 --- a/NEWS +++ b/NEWS @@ -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' diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi index fbe30598c..287045983 100644 --- a/doc/ref/posix.texi +++ b/doc/ref/posix.texi @@ -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