* [PATCH] Note that there's no glibc wrapper for set_tid_address.
@ 2017-08-07 15:53 enh
[not found] ` <CAJgzZoqVFhcEU_Fmrbteq7YSCgpxendHk9aePUvFazgNd=KZmA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: enh @ 2017-08-07 15:53 UTC (permalink / raw)
To: Michael Kerrisk (man-pages); +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 72 bytes --]
---
man2/set_tid_address.2 | 6 ++++++
1 file changed, 6 insertions(+)
[-- Attachment #2: 0001-Note-that-there-s-no-glibc-wrapper-for-set_tid_addre.patch --]
[-- Type: text/x-patch, Size: 1094 bytes --]
From 4ccf1ba246c1da48893865bd3dc9e029dbf7fd3a Mon Sep 17 00:00:00 2001
From: Elliott Hughes <enh@google.com>
Date: Mon, 7 Aug 2017 08:51:28 -0700
Subject: [PATCH] Note that there's no glibc wrapper for set_tid_address.
---
man2/set_tid_address.2 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/man2/set_tid_address.2 b/man2/set_tid_address.2
index 446b9009a..b19cb0823 100644
--- a/man2/set_tid_address.2
+++ b/man2/set_tid_address.2
@@ -31,6 +31,9 @@ set_tid_address \- set pointer to thread ID
.sp
.BI "long set_tid_address(int *" tidptr );
.fi
+
+.IR Note :
+There is no glibc wrapper for this system call; see NOTES.
.SH DESCRIPTION
For each thread, the kernel maintains two attributes (addresses) called
.I set_child_tid
@@ -96,6 +99,9 @@ This call is present since Linux 2.5.48.
Details as given here are valid since Linux 2.5.49.
.SH CONFORMING TO
This system call is Linux-specific.
+.SH NOTES
+Glibc does not provide a wrapper for this system call; call it using
+.BR syscall (2).
.SH SEE ALSO
.BR clone (2),
.BR futex (2),
--
2.14.0.rc1.383.gd1ce394fe2-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Note that there's no glibc wrapper for set_tid_address.
[not found] ` <CAJgzZoqVFhcEU_Fmrbteq7YSCgpxendHk9aePUvFazgNd=KZmA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-08-08 19:27 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-08-08 19:27 UTC (permalink / raw)
To: enh; +Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 08/07/2017 05:53 PM, enh wrote:
> ---
> man2/set_tid_address.2 | 6 ++++++
> 1 file changed, 6 insertions(+)
>
Thanks, Elliot. Applied!
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-08 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-07 15:53 [PATCH] Note that there's no glibc wrapper for set_tid_address enh
[not found] ` <CAJgzZoqVFhcEU_Fmrbteq7YSCgpxendHk9aePUvFazgNd=KZmA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-08 19:27 ` Michael Kerrisk (man-pages)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.