FreeBSD Bugzilla – Attachment 237851 Details for
Bug 267551
intro(3): Add `libstdthread` ISO C11 library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
`git format-patch` patch file
0001-intro-3-Add-libstdthread-ISO-C11-library.patch (text/plain), 1.21 KB, created by
Alois Klink
on 2022-11-03 18:39:54 UTC
(
hide
)
Description:
`git format-patch` patch file
Filename:
MIME Type:
Creator:
Alois Klink
Created:
2022-11-03 18:39:54 UTC
Size:
1.21 KB
patch
obsolete
>From ed23dd8e5012251c2467ecc8dd1347646d5b54bf Mon Sep 17 00:00:00 2001 >From: Alois Klink <alois@aloisklink.com> >Date: Thu, 3 Nov 2022 17:47:40 +0000 >Subject: [PATCH] intro(3): Add `libstdthread` ISO C11 library > >Document `libstdthread` (aka the ISO C11 `<threads.h>` library) >in the intro(3) manpage. > >It's still relatively uncommon to see C11 `<threads.h>` being used, >but it's worth documenting, especially since FreeBSD requires a >different library for C11 threads compared to >glibc (part of `-lpthread`) or musl libc (included by default). >--- > share/man/man3/intro.3 | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/share/man/man3/intro.3 b/share/man/man3/intro.3 >index d6dff3ab378..f2d1c7c4ba4 100644 >--- a/share/man/man3/intro.3 >+++ b/share/man/man3/intro.3 >@@ -28,7 +28,7 @@ > .\" @(#)intro.3 8.1 (Berkeley) 6/5/93 > .\" $FreeBSD$ > .\" >-.Dd December 18, 2021 >+.Dd November 3, 2022 > .Dt INTRO 3 > .Os > .Sh NAME >@@ -231,6 +231,11 @@ See > The POSIX threads library. > See > .Xr pthread 3 . >+.It Em libstdthreads >+.Pq Fl l Ns Ar stdthreads >+The ISO C11 standard <threads.h> library. >+See >+.Xr thrd_create 3 . > .It Em libsysdecode > .Pq Fl l Ns Ar sysdecode > The system argument decoding library. >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 267551
: 237851