.\" Hey Emacs! This file is -*- nroff -*- source. .\" .\" This manpage is Copyright (C) 1992 Drew Eckhardt; .\" 1993 Michael Haardt, Ian Jackson. .\" .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" .\" Modified Wed Jul 21 19:42:57 1993 by Rik Faith .\" Modified Sun Jul 21 21:25:26 1996 by Andries Brouwer .\" Modified Wed Nov 6 03:46:05 1996 by Eric S. Raymond .\" .TH ALARM 2 "21 Juli 1993" Linux "Linux Programmeurs Handleiding" .SH NAAM alarm \- zet een wekker voor afgeven van een signaal .SH OVERZICHT .nf .B #include .sp .BI "unsigned int alarm(unsigned int " seconden ); .fi .SH BESCHRIJVING .BR alarm " zorgt voor het afgeven van een " SIGALRM aan het proces in .I seconden seconden. Als .I seconden nul is wordt geen nieuw .B alarm gepland. In elk geval wordt elk eerder gezet .B alarm afgelast. .SH "TERUGGEEF WAARDE" .B alarm geeft het aantal seconden dat een eerder gepland alarm nog heeft tot het af zal gaan, of nul als er geen eerder gepland alarm is. .SH OPMERKINGEN .BR alarm " en " setitimer delen hetzelfde uurwerk; aanroepen van de ene zal het gebruik van de ander verstoren. .PP .B sleep() kan geïmplementeerd zijn met gebruik van .BR SIGALRM ; mengen van de aanroepen .B alarm() en .B sleep() zijn een slecht idee. "Scheduling" {tijd indeling} vertraging kan -zoals altijd- het uitvoeren van een programma vertragen voor een willekeurige hoeveelheid tijd. .SH "VOLDOET AAN" SVr4, SVID, POSIX, X/OPEN, BSD 4.3 .SH "ZIE" .BR setitimer "(2) {zet uurwerk}," .BR signal "(2) {signaal}," .BR sigaction "(2) {signaal daad}," .BR gettimeofday "(2) {krijg tijd op dag}," .BR select "(2) {kies}," .BR pause "(2) {pauze}," .BR sleep "(3) {slaap}" .\" Translated Thu Nov 9 18:29:21 2000 by JosBoersema .\" .SH VERTALING Dit is een handleiding uit \fBmanpages-dev 1.29\fR. Alles wat tussen `\fB{\fR'..`\fB}\fR' staat is \fBaanvullende vertaling\fR, en hoort \fBniet\fR bij de originele handleiding. Email naar . .\"Vertaling Jos Boersema $Id: alarm.2,v 1.1 2003/04/28 18:43:34 bokkie Exp $