[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]

 



As truncate(3) should dispatch between truncate/truncate64, as noted
further.

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
-- 
2.1.4




[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