> Date: Thu, 30 Jan 2014 15:41:11 +0100 > From: Jan Klemkow <[email protected]> > > On Thu, Jan 30, 2014 at 09:21:52AM +0001, Jason McIntyre wrote: > > On Wed, Jan 29, 2014 at 08:44:05PM +0100, Jan Klemkow wrote: > > > Hi, > > > > > > I've made a little diff to clean up some manpages with references to the > > > obsoleted functions usleep(1), alarm(3). > > > > > > bye, > > > Jan > > > > > > > stuff like alarm are still part of posix, as far as i know. not sure if > > that should have any bearing on this or not. > > These functions are removed from the standard: > http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap01.html
That doesn't necessarily mean we have to drop them as well. And alarm(3) is still there. > > > Index: bin/sleep/sleep.1 > > > =================================================================== > > > RCS file: /cvs/src/bin/sleep/sleep.1,v > > > retrieving revision 1.19 > > > diff -u -p -r1.19 sleep.1 > > > --- bin/sleep/sleep.1 3 Sep 2010 09:53:20 -0000 1.19 > > > +++ bin/sleep/sleep.1 29 Jan 2014 19:39:14 -0000 > > > @@ -109,9 +109,7 @@ done > > > .Xr at 1 , > > > .Xr nanosleep 2 , > > > .Xr setitimer 2 , > > > -.Xr alarm 3 , > > > -.Xr sleep 3 , > > > -.Xr usleep 3 > > > +.Xr sleep 3 > > > .Sh STANDARDS > > > The > > > .Nm > > > Index: lib/libc/gen/sleep.3 > > > =================================================================== > > > RCS file: /cvs/src/lib/libc/gen/sleep.3,v > > > retrieving revision 1.14 > > > diff -u -p -r1.14 sleep.3 > > > --- lib/libc/gen/sleep.3 18 Jul 2013 10:14:49 -0000 1.14 > > > +++ lib/libc/gen/sleep.3 29 Jan 2014 19:39:31 -0000 > > > @@ -70,7 +70,7 @@ slept) in seconds. > > > .Sh SEE ALSO > > > .Xr sleep 1 , > > > .Xr nanosleep 2 , > > > -.Xr usleep 3 > > > +.Xr setitimer 2 > > > .Sh STANDARDS > > > The > > > .Fn sleep > > > > > > >
