home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!laphroaig!cflatter
- From: cflatter@nrao.edu (Chris Flatters)
- Newsgroups: comp.windows.open-look
- Subject: Re: setsid on 4.3+BSD
- Message-ID: <1992Sep9.001333.9827@nrao.edu>
- Date: 9 Sep 92 00:13:33 GMT
- References: <wkqe0j5@openlook.Unify.Com>
- Sender: news@nrao.edu
- Reply-To: cflatter@nrao.edu
- Organization: NRAO
- Lines: 29
-
- In article wkqe0j5@openlook.Unify.Com, sinan@Mtesol.boeing.com (Sinan Karasu) writes:
- >
- > I have xview running on a concurrent machine. However when a term window
- >is created (with devGuide) a call to setsid is generated. Concurrent RTU
- >does not have a setsid function ( that I could find anyway. This is all
- >in "universe ucb").
- >
- >Q: Is this a 4.3 or a BSD function ? (W. Richard Stevens says
- > it is SVR4 and Posix but is vague about it's origins.)
-
- A: setsid() was introduced in the POSIX.1 standard.
-
- >Q: does anybody have the source code for setsid ?
-
- setsid() is not meaningful unless your O/S supports sessions. A session
- is a process grouping above that of a process group. i.e. a process group
- contains one or more processes; a session contains one or more process groups.
- Sessions were introduced to regularize job control: all jobs running from
- a single control terminal belong to the same session.
-
- If your O/S does not support sessions or job control then you may substitute
- setpgrp() (System V) for setsid().
-
- >Q: is it available at ftp.uu.net:/systems/unix/bsd-sources/lib
-
- It may be but it will require a BSD kernel to work.
-
- Chris Flatters
- cflatter@nrao.edu
-