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