Path: 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 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