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:

.I tms
points outside the process's address space.

Thank you!


Michael Kerrisk
Linux man-pages maintainer;
Author of "The Linux Programming Interface";
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Memory]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

Add to Google Powered by Linux