public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] socketcall.2: Add note about missing glibc wrapper
@ 2021-02-15 13:15 Alejandro Colomar
  2021-02-15 19:56 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2021-02-15 13:15 UTC (permalink / raw)
  To: mtk.manpages; +Cc: Alejandro Colomar, linux-man

......

.../glibc$ grep_glibc_prototype socketcall
.../glibc$

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2/socketcall.2 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/man2/socketcall.2 b/man2/socketcall.2
index a3012d4c7..d1803d906 100644
--- a/man2/socketcall.2
+++ b/man2/socketcall.2
@@ -31,6 +31,9 @@ socketcall \- socket system calls
 .PP
 .BI "int socketcall(int " call ", unsigned long *" args );
 .fi
+.PP
+.IR Note :
+There is no glibc wrapper for this system call; see NOTES.
 .SH DESCRIPTION
 .BR socketcall ()
 is a common kernel entry point for the socket system calls.
@@ -153,6 +156,9 @@ T}
 This call is specific to Linux, and should not be used in programs
 intended to be portable.
 .SH NOTES
+Glibc does not provide a wrapper for this system call; call it using
+.BR syscall (2).
+.PP
 On a some architectures\(emfor example, x86-64 and ARM\(emthere is no
 .BR socketcall ()
 system call; instead
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] socketcall.2: Add note about missing glibc wrapper
  2021-02-15 13:15 [PATCH] socketcall.2: Add note about missing glibc wrapper Alejandro Colomar
@ 2021-02-15 19:56 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-02-15 19:56 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: mtk.manpages, linux-man

Hi Alex,

On 2/15/21 2:15 PM, Alejandro Colomar wrote:
> ......
> 
> .../glibc$ grep_glibc_prototype socketcall
> .../glibc$
> 
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

Thanks! Patch applied.

Cheers,

Michael

> ---
>  man2/socketcall.2 | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/man2/socketcall.2 b/man2/socketcall.2
> index a3012d4c7..d1803d906 100644
> --- a/man2/socketcall.2
> +++ b/man2/socketcall.2
> @@ -31,6 +31,9 @@ socketcall \- socket system calls
>  .PP
>  .BI "int socketcall(int " call ", unsigned long *" args );
>  .fi
> +.PP
> +.IR Note :
> +There is no glibc wrapper for this system call; see NOTES.
>  .SH DESCRIPTION
>  .BR socketcall ()
>  is a common kernel entry point for the socket system calls.
> @@ -153,6 +156,9 @@ T}
>  This call is specific to Linux, and should not be used in programs
>  intended to be portable.
>  .SH NOTES
> +Glibc does not provide a wrapper for this system call; call it using
> +.BR syscall (2).
> +.PP
>  On a some architectures\(emfor example, x86-64 and ARM\(emthere is no
>  .BR socketcall ()
>  system call; instead
> 


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-15 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-15 13:15 [PATCH] socketcall.2: Add note about missing glibc wrapper Alejandro Colomar
2021-02-15 19:56 ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox