NetBSD Problem Report #8235
Received: (qmail 28045 invoked from network); 19 Aug 1999 12:00:30 -0000
Message-Id: <199908191158.NAA00542@hiro.xon.net>
Date: Thu, 19 Aug 1999 13:58:57 +0200 (CEST)
From: wiz@danbala.ifoer.tuwien.ac.at
Reply-To: wiz@danbala.ifoer.tuwien.ac.at
To: gnats-bugs@gnats.netbsd.org
Subject: timer_{create,delete,settime,gettime}
X-Send-Pr-Version: 3.95
>Number: 8235
>Category: lib
>Synopsis: wrong(?) prototype for timer_create
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 19 05:05:00 +0000 1999
>Closed-Date: Thu Aug 19 12:19:07 +0000 1999
>Last-Modified: Thu Aug 19 12:21:22 +0000 1999
>Originator: Wiz
>Release: NetBSD 1.4/i386 release
>Organization:
>Environment:
System: NetBSD hiro.xon.net 1.4 NetBSD 1.4 (HIRO) #20: Thu Jul 29 14:35:21 CEST 1999 wiz@hiro.xon.net:/usr/src/sys/arch/i386/compile/HIRO i386
>Description:
According to the QNX 4.24 C library reference, timer_create should be defined
like this:
timer_t timer_create( clockid_t clock_id, struct sigevent *evp )
In /usr/include/time.h on NetBSD 1.4 it's defined as:
int timer_create __P((clockid_t, struct sigevent *, timer_t *));
The QNX documentation says QNX is conforming to POSIX 1003.4. I can't
verify this for lack of a POSIX standard.
I'm also curious when the timer_* procedures will be implemented
(or at least the necessary structs will be defined)?
>How-To-Repeat:
less /usr/include/time.h
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: kleink
State-Changed-When: Thu Aug 19 05:19:07 PDT 1999
State-Changed-Why:
The timer_create() declaration conforms to ISO/IEC:9945-1 1996 (a/k/a
IEEE Std 1003.1-1996, which includes 1003.1b-1993 which was formerly known
as 1003.4.).
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.