Next: posix time, Previous: posix users, Up: posix [Index]
Interface to the C function ctermid()
, (libc)ctermid. Return a bytevector or string holding the ASCII
coded pathname of the controlling terminal of the current process; the
returned value may be the empty bytevector or string.
Interface to the C function setsid()
, (libc)setsid. Create a new session, making the current process
the group leader with no controlling terminal. If successful return a
fixnum representing the new process group ID, else raise an exception.
Interface to the C function getsid()
, (libc)getsid. If successful return a fixnum representing the
session ID of the process with process ID pid, which must be a
fixnum; else raise an exception.
Interface to the C function getpgrp()
, (libc)getpgrp. Return a fixnum representing the process group ID
of the calling process.
Interface to the C function setpgid()
, (libc)setpgid. Put the process pid in the process group
pgid; both the arguments must be fixnums. If successful return
unspecified values, else raise an exception.
Interface to the C function tcgetpgrp()
, (libc)tcgetpgrp. If successful return a fixnum representing the
process group ID of the foreground process group associated with the
terminal open on descriptor fd, which must be a fixnum; else raise
an exception.
Interface to the C function tcsetpgrp()
, (libc)tcsetpgrp. Set to process group ID pgid the
foreground process group for the terminal open on descriptor fd;
both the arguments must be fixnums. If successful return the fixnum
zero, else raise an exception.
Interface to the C function tcgetsid()
, (libc)tcgetsid. If successful return a fixnum representing the
process group ID of the session for which the terminal open on
descriptor fd is the controlling terminal; else raise an
exception.
Next: posix time, Previous: posix users, Up: posix [Index]