timer_create man page on CentOS

Man page or keyword search:  
man Server   8420 pages
apropos Keyword Search (all sections)
Output format
CentOS logo
[printable version]


TIMER_CREATE(2)		   Linux Programmer's Guide	       TIMER_CREATE(2)

NAME
       timer_create - Create a POSIX.1b interval timer clock

SYNOPSIS
       long sys_timer_create (clockid_t which_clock,
			      struct sigevent *timer_event_spec,
			      timer_t *created_timer_id);

DESCRIPTION
       timer_create  creates  a	 POSIX.1b interval timer, pointed to by creat‐
       ed_timer_id, using the which_clock format. The timer_event_spec	points
       to a sigevent structure if non-NULL. The sigevent structure defines the
       asynchronous notification that occurs when the timer expires.

       The values that clockid_t currently supports for	 POSIX.1b  timers,  as
       defined in include/linux.time.h, are:

       CLOCK_REALTIME
	      Systemwide realtime clock.

       CLOCK_MONOTONIC
	      Represents monotonic time. Cannot be set.

       CLOCK_PROCESS_CPUTIME_ID
	      High resolution per-process timer.

       CLOCK_THREAD_CPUTIME_ID
	      Thread-specific timer.

       CLOCK_REALTIME_HR
	      High resolution version of CLOCK_REALTIME.

       CLOCK_MONOTONIC_HR
	      High resolution version of CLOCK_MONOTONIC.

RETURN VALUE
       timer_create returns 0 on success and updates the created_timer_id val‐
       ue; otherwise, it returns one of the errors listed in the "Errors" sec‐
       tion.

ERRORS
       -EINVAL
	      An invalid which_clock value was specified.

       -EAGAIN
	      The system could not process the request.

       -EFAULT
	      An invalid timer_event_spec value was specified.

SEE ALSO
       timer_delete(2),	  timer_getoverrun(2),	 timer_gettime(2),  timer_set‐
       time(2)

AUTHOR
       Niki Rahimi

Linux 2.6			 2004-March-12		       TIMER_CREATE(2)
[top]

List of man pages available for CentOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net