pause(2) vs. sigpause(3)

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Wed Oct 31 15:58:49 AEST 1990


In article <717 at inews.intel.com> bhoughto at cmdnfs.intel.com (Blair P. Houghton) writes:
> Why obsoleted a perfectly simple system call with a
> library function?

Here it's pause(3) and sigpause(2). What machine are you using?

> (BTW, neither of them is ANSI C; I don't know which might
> be in POSIX).

POSIX imitated the BSD signal facilities, with some helpful additions.
It made sigpause() into sigsuspend(). The difference is that the
argument is a ``sigset_t'' manipulated by macros.

---Dan



More information about the Comp.unix.programmer mailing list