Subject: lib/8235: timer_{create,delete,settime,gettime}
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@danbala.ifoer.tuwien.ac.at>
List: netbsd-bugs
Date: 08/19/1999 06:02:07
>Number:         8235
>Category:       lib
>Synopsis:       wrong(?) prototype for timer_create
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 19 05:05:00 1999
>Last-Modified:
>Originator:     Wiz
>Organization:
	
>Release:        NetBSD 1.4/i386 release
>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:
>Audit-Trail:
>Unformatted: