mirror of https://github.com/mkerrisk/man-pages
syscalls.2: Change example of a thin syscall wrapper to chdir()
As truncate(3) should dispatch between truncate/truncate64, as noted later in the page. Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
674cc31493
commit
d82f931137
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue