OSDN Git Service

(split) LDP: Update original to LDP v3.41.
[linuxjm/LDP_man-pages.git] / original / man2 / timer_create.2
index fa6073b..ae121f3 100644 (file)
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\"
+.\" FIXME: Linux 2.6.39 adds CLOCK_BOOTTIME
+.\" Does this also affect timerfd_create()?
+.\" FIXME: Linux 2.3.0 adds CLOCK_BOOTTIME_ALARM and CLOCK_REALTIME_ALARM
+.\" Does this also affect timerfd_create()?
+.\"
 .TH TIMER_CREATE 2 2010-09-27 Linux "Linux Programmer's Manual"
 .SH NAME
 timer_create \- create a POSIX per-process timer
@@ -183,7 +189,7 @@ Could not allocate memory.
 .SH VERSIONS
 This system call is available since Linux 2.6.
 .SH CONFORMING TO
-POSIX.1-2001
+POSIX.1-2001.
 .SH NOTES
 A program may create multiple interval timers using
 .BR timer_create ().
@@ -262,7 +268,7 @@ there have been around ten million overruns.
 .in +4n
 .nf
 
-$ \fB./a.out 1 10\fP
+$ \fB./a.out 1 100\fP
 Establishing handler for signal 34
 Blocking signal 34
 timer ID is 0x804c008
@@ -392,8 +398,8 @@ main(int argc, char *argv[])
 .BR clock_gettime (2),
 .BR setitimer (2),
 .BR timer_delete (2),
-.BR timer_settime (2),
 .BR timer_getoverrun (2),
+.BR timer_settime (2),
 .BR timerfd_create (2),
 .BR clock_getcpuclockid (3),
 .BR pthread_getcpuclockid (3),