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...
NAMEtimer_delete - delete a per-process timer (REALTIME)
SYNOPSISIn time.h Ft int Fn timer_delete timer_t timerid
DESCRIPTIONThe 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 VALUESRv -std
ERRORSThe Fn timer_delete system call will fail if:
- Bq Er EINVAL
- The timer ID specified by Fa timerid is not a valid timer ID.