This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: can't find source code of nanosleep.


Mike Frysinger wrote:
On Tuesday 03 June 2008, Michal wrote:
Sorry for stupid question, but I really can't find it.

there isnt one. it's created automatically based on sysdeps/linux/sysv/linux/syscalls.list.
-mike

The automatic generation for nanosleep uses the template in sysdep-cancel.h for your target machine. The "-cancel" version of sysdep.h is used because nanosleep is a cancellable syscall.


Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@codesourcery.com
(650) 331-3385 x716


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]