From: Dave Butenhof <David.Butenhof@compaq.com>
Subject: Re: nanosleep ?
Date: 1999/08/23 [thread overview]
Message-ID: <37C14023.B0712F05@compaq.com> (raw)
In-Reply-To: 37C0ED14.9560FA43@psi.ch
Mark Koennecke wrote:
> It is in the man pages as nanosleep for DU4.0D. But for some reason I
> call the function as nanosleep_d9.
The "_d9" identifies that version of nanosleep with the long-since
obsolete "draft 9" of the document that eventually (that is, 6 years
ago) became the POSIX 1003.1b-1993 "realtime" standard. You shouldn't be
using that obsolete (and undocumented) function, as it may be removed
"at any time".
The POSIX 1003.1b-1993 nanosleep() function can be found, as someone
already said, in the librt library. You must use -lrt when linking any
program that uses it.
/---------------------------[ Dave Butenhof ]--------------------------\
| Compaq Computer Corporation David.Butenhof@compaq.com |
| 110 Spit Brook Rd ZKO2-3/Q18 http://members.aol.com/drbutenhof |
| Nashua NH 03062-2698 http://www.awl.com/cseng/titles/0-201-63392-2/ |
\-----------------[ Better Living Through Concurrency ]----------------/
next prev parent reply other threads:[~1999-08-23 4:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-20 4:00 nanosleep ? Andreas Schnorr ATS/AT #47493
1999-08-20 4:00 ` linnartz
1999-08-23 4:00 ` Mark Koennecke
1999-08-23 4:00 ` Dave Butenhof [this message]
1999-08-23 4:00 ` David T. Blake
1999-08-25 4:00 ` Dave Butenhof
1999-08-25 4:00 ` David T. Blake
1999-08-25 4:00 ` wordexp (not Re: nanosleep ?) Daniel S. Riley
1999-08-25 4:00 ` David T. Blake
1999-08-25 4:00 ` David T. Blake
1999-08-26 4:00 ` Peter da Silva
1999-08-26 4:00 ` David T. Blake
1999-08-26 4:00 ` Peter da Silva
1999-08-24 4:00 ` nanosleep ? Mark Koennecke
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox