timer_delete (2)
Leading comments
Copyright (c) 2005 David Xu <davidxu@FreeBSD.org> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice(s), this list of conditions and the following disclaimer as the first lines of this file unmodified other than the possible addition of one or more copyright notices. 2. Redistributions in binary form...
NAME
timer_delete - delete a per-process timer (REALTIME)LIBRARY
Lb librtSYNOPSIS
In time.h Ft int Fn timer_delete timer_t timeridDESCRIPTION
The Fn timer_delete system call deletes the specified timer, Fa timerid , previously created by the timer_create2 system call. If the timer is armed when Fn timer_delete is called, the behavior is as if the timer is automatically disarmed before removal. Pending signals for the deleted timer are cleared.RETURN VALUES
Rv -stdERRORS
The Fn timer_delete system call will fail if:- Bq Er EINVAL
- The timer ID specified by Fa timerid is not a valid timer ID.