Article View: comp.unix.programmer
Article #1139Re: pause(2) vs. sigpause(3)
From: John Cowan
Date: Wed, 31 Oct 1990 16:08
Date: Wed, 31 Oct 1990 16:08
17 lines
1063 bytes
1063 bytes
In article <717@inews.intel.com> bhoughto@cmdnfs.intel.com (Blair P. Houghton) writes: >Is there a difference between `pause()' and `sigpause(0)'? > >I can't see one. > >Why obsoleted a perfectly simple system call with a >library function? As others have pointed out, pause(3) is the library routine and sigpause(2) is the system call. Pause used to be pause(2) on V7, but now is a compatibility library routine calling sigpause(2). Similar things have happened with exit(3), formerly exit(2) but now calling _exit(2); alarm(3); signal(3); and so on. -- cowan@marob.masa.com (aka ...!hombre!marob!cowan) e'osai ko sarji la lojban
Technical Details
Message-ID:
<272EF706.1EFC@marob.masa.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!phri!marob!cowanReferences:
<43321@eerie.acsu.Buffalo.EDU> <717@inews.intel.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!phri!marob!cowan From: cowan@marob.masa.com (John Cowan) Newsgroups: comp.unix.programmer Subject: Re: pause(2) vs. sigpause(3) Message-ID: <272EF706.1EFC@marob.masa.com> Date: 31 Oct 90 16:08:37 GMT References: <43321@eerie.acsu.Buffalo.EDU> <717@inews.intel.com> Organization: The Logical Language Group, Inc. Lines: 17