Linux and UNIX Man Pages

Test Your Knowledge in Computers #546
Difficulty: Medium
In computer science, an operator takes the values of its operands and combines them in some way to produce a new value.
True or False?
Linux & Unix Commands - Search Man Pages

timer_delete(3c) [opensolaris man page]

timer_delete(3C)					   Standard C Library Functions 					  timer_delete(3C)

NAME
timer_delete - delete a timer SYNOPSIS
#include <time.h> int timer_delete(timer_t timerid); DESCRIPTION
The timer_delete() function deletes the specified timer, timerid, previously created by the timer_create(3C) function. If the timer is armed when timer_delete() is called, the behavior will be as if the timer is automatically disarmed before removal. The disposition of pending signals for the deleted timer is unspecified. RETURN VALUES
If successful, the function returns 0. Otherwise, the function returns -1 and sets errno to indicate the error. ERRORS
The timer_delete() function will fail if: EINVAL The timer ID specified by timerid is not a valid timer ID. ENOSYS The timer_delete() function is not supported by the system. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ |ATTRIBUTE TYPE |ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe with exceptions | +-----------------------------+-----------------------------+ |Standard |See standards(5). | +-----------------------------+-----------------------------+ SEE ALSO
timer_create(3C), attributes(5), standards(5) SunOS 5.11 5 Feb 2008 timer_delete(3C)

Check Out this Related Man Page

timer_delete(3RT)					    Realtime Library Functions						 timer_delete(3RT)

NAME
timer_delete - delete a timer SYNOPSIS
cc [ flag... ] file... -lrt [ library... ] #include <time.h> int timer_delete(timer_t timerid); DESCRIPTION
The timer_delete() function deletes the specified timer, timerid, previously created by the timer_create(3RT) function. If the timer is armed when timer_delete() is called, the behavior will be as if the timer is automatically disarmed before removal. The disposition of pending signals for the deleted timer is unspecified. RETURN VALUES
If successful, the function returns 0. Otherwise, the function returns -1 and sets errno to indicate the error. ERRORS
The timer_delete() function will fail if: EINVAL The timer ID specified by timerid is not a valid timer ID. ENOSYS The timer_delete() function is not supported by the system. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe with exceptions | +-----------------------------+-----------------------------+ SEE ALSO
timer_create(3RT), attributes(5), standards(5) SunOS 5.10 28 Jun 2002 timer_delete(3RT)

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

reply timer

Neo, can u please shorten the reply timer to like 1 min or so. It is prolly just me but i end up passing on replying to posts due to i hate waiting for my timer to reset w/ a 2.5 mins wait. (2 Replies)
Discussion started by: Optimus_P
2 Replies

2. Shell Programming and Scripting

timer

Hi all, Wanted to a create a shell script ----------------------------------------------------------------------- 1) which when called will start a timer and wait for 48 hours. after 48 hours it will call some function(say XYZ) 2) Whenever this shell script is called (can be called... (3 Replies)
Discussion started by: k_oops9
3 Replies

3. Programming

How to implement polling for a function using timer in C?

Hi, Can you please help me in implementing a timer based polling for function in C? ie. the function should be called in say 30secs(when 30secs has lapsed). Thanks (7 Replies)
Discussion started by: naan
7 Replies

4. Programming

Questions about timer in multi-threads environment

Hi I have questions about timer function in multi-threads environment. My application has multi-threads, in one thread, I set a timer, when the timer expires, the timer function will interrupt other thread and execute. I am not clear which thread will be interrupted by the timer function ?... (2 Replies)
Discussion started by: longskys
2 Replies

5. Shell Programming and Scripting

Simple script? First timer...

Hey guys, I'm brand new to the bash scripting world, here's my issue.. When people SSH to my box, I'm wanting to use screen to monitor them if I so choose. So, I've created a new user: testing, and I've set its startup shell to /bin/myshell.sh whose contents read this: #!/bin/sh $me =... (4 Replies)
Discussion started by: poon
4 Replies

6. Homework & Coursework Questions

change

bh,lg.yu.,fgh,ry,.tyl,tyk,ty,ty,ty,. (7 Replies)
Discussion started by: frankycool
7 Replies

7. Programming

Microsecond timer and printf issues in C++

Hi guys, First post here - hope it's in the right place. I'm writing a timer for a client. It can send data every 100ms and receive every 150. It's an AI project so I *don't* want to fork() and pipe or go multi threaded, use interupts etc. Using linux, gcc 4.3.2 The code I have: ... (2 Replies)
Discussion started by: scazz
2 Replies

8. Shell Programming and Scripting

Bash - countdown timer

Hello, I have another problem with my script - I would like to have a countdown timer visible on the screen, and at the same time, I want te be able to do something else. And when the time runs out, I need to know about that inside the script somehow and do some action. I guess that would require 2... (3 Replies)
Discussion started by: xqwzts
3 Replies

9. UNIX for Beginners Questions & Answers

Adder timer to 1 of these columns

I have 2 files that print on the same line at the same time. I wanted to add time.sleep() to 1 of the textfiles. I wanted to delay the time that 1 textfile prints with the other 1 in this script. I wanted to have the files to create new lines instead of printing the same combinations when they both... (5 Replies)
Discussion started by: bigvito19
5 Replies

Featured Tech Videos