linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* incorrect clock_nanosleep.2
@ 2010-08-12  5:59 Yuri Kozlov
       [not found] ` <20100812095939.13c8ab26-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Yuri Kozlov @ 2010-08-12  5:59 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hello.

Next two paragraph is contradict.

If the call is interrupted by a signal handler, clock_nanosleep() returns
-1, and sets errno to EINTR.

And below:
RETURN VALUE
       On successfully sleeping for the requested interval,
       clock_nanosleep() returns 0.  If the call is interrupted by a
       signal handler or encounters an error, then it returns a positive
       error number.

So, return value is positive or -1 ?


-- 
Best Regards,
Yuri Kozlov

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-29  4:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-12  5:59 incorrect clock_nanosleep.2 Yuri Kozlov
     [not found] ` <20100812095939.13c8ab26-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org>
2010-08-29  4:32   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).