> Please don't, alarm(3) is perfectly fine to be using.  We should
> probably remove that line from the manual.

The comment of alarm being made obsolete by setitimer has been there
for 30 years:

https://www.freebsd.org/cgi/man.cgi?query=alarm&apropos=0&sektion=0&manpath=2.10+BSD&arch=default&format=html

NetBSD and FreeBSD also still have it.

Index: alarm.3
===================================================================
RCS file: /var/cvs/src/lib/libc/gen/alarm.3,v
retrieving revision 1.13
diff -u -p -r1.13 alarm.3
--- alarm.3     17 Jul 2013 05:42:11 -0000      1.13
+++ alarm.3     26 Jan 2016 22:57:39 -0000
@@ -38,11 +38,6 @@
 .Ft unsigned int
 .Fn alarm "unsigned int seconds"
 .Sh DESCRIPTION
-.Bf -symbolic
-This interface is made obsolete by
-.Xr setitimer 2 .
-.Ef
-.Pp
 The
 .Fn alarm
 function waits a count of

Reply via email to