Re: [PATCH 13/16] syscalls.2: change example of a thin syscall wrapper to chdir()

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

 



On 09/19/2018 07:12 PM, Eugene Syromyatnikov wrote:
> As truncate(3) should dispatch between truncate/truncate64, as noted
> further.

Thanks, Eugene. Patch applied.

Cheers,

Michael

> 
> Signed-off-by: Eugene Syromyatnikov <evgsyr@xxxxxxxxx>
> ---
>  man2/syscalls.2 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man2/syscalls.2 b/man2/syscalls.2
> index fbc61ac..1a4256c 100644
> --- a/man2/syscalls.2
> +++ b/man2/syscalls.2
> @@ -44,8 +44,8 @@ For details of direct invocation of a system call, see
>  Often, but not always, the name of the wrapper function is the same
>  as the name of the system call that it invokes.
>  For example, glibc contains a function
> -.BR truncate ()
> -which invokes the underlying "truncate" system call.
> +.BR chdir ()
> +which invokes the underlying "chdir" system call.
>  .PP
>  Often the glibc wrapper function is quite thin, doing little work
>  other than copying arguments to the right registers
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[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