Re: still on times (2) man page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Simone,

On Mon, Apr 16, 2012 at 4:53 AM, Simone Piccardi <piccardi@xxxxxxxxxxx> wrote:
> I have another little issue about errors. In the RETURN VALUE section is
> written:
>
> On error, (clock_t) -1 is returned, and errno is set appropriately.
>
> but no value for errno is specified.  From what I found digging kernel
> sources the only error value returned seems to be EFAULT, if tms address
> make fail copy_to_user. Should be specified?

Yes, probably better. For 3.39, I added the following:

==
.SH ERRORS
.TP
.B EFAULT
.I tms
points outside the process's address space.
==

Thank you!

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux