Skip to content

Commit 035a792

Browse files
committed
Fix bad documentation
1 parent 1090c8c commit 035a792

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

kos/include/pthread.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* HASH CRC-32:0x825f2384 */
1+
/* HASH CRC-32:0x353e868f */
22
/* Copyright (c) 2019-2025 Griefer@Work *
33
* *
44
* This software is provided 'as-is', without any express or implied *
@@ -3690,7 +3690,7 @@ __NAMESPACE_LOCAL_USING_OR_IMPL(pthread_main_np, __FORCELOCAL __ATTR_ARTIFICIAL
36903690
* @return: EOK: Success
36913691
* @return: EINVAL: Invalid/unsupported `start_suspended' */
36923692
__CDECLARE_OPT(__ATTR_INOUT(1),__errno_t,__NOTHROW_NCX,pthread_attr_setstartsuspended_np,(pthread_attr_t *__restrict __self, int __start_suspended),(__self,__start_suspended))
3693-
/* >> pthread_attr_getpidfdallocated_np(3)
3693+
/* >> pthread_attr_getstartsuspended_np(3)
36943694
* Write 0=no or 1=yes to `*start_suspended', indicative of `pthread_create(3)'
36953695
* starting newly spawned thread in a suspended state (requiring the creator
36963696
* to resume the thread at least once before execution actually starts)

kos/src/libc/auto/pthread.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* HASH CRC-32:0xb6a8daab */
1+
/* HASH CRC-32:0xaced1570 */
22
/* Copyright (c) 2019-2025 Griefer@Work *
33
* *
44
* This software is provided 'as-is', without any express or implied *
@@ -978,7 +978,7 @@ INTDEF ATTR_CONST WUNUSED int NOTHROW(LIBCCALL libc_pthread_main_np)(void);
978978
* @return: EOK: Success
979979
* @return: EINVAL: Invalid/unsupported `start_suspended' */
980980
INTDEF ATTR_INOUT(1) errno_t NOTHROW_NCX(LIBDCALL libd_pthread_attr_setstartsuspended_np)(pthread_attr_t *__restrict self, int start_suspended);
981-
/* >> pthread_attr_getpidfdallocated_np(3)
981+
/* >> pthread_attr_getstartsuspended_np(3)
982982
* Write 0=no or 1=yes to `*start_suspended', indicative of `pthread_create(3)'
983983
* starting newly spawned thread in a suspended state (requiring the creator
984984
* to resume the thread at least once before execution actually starts)

kos/src/libc/magic/pthread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3431,7 +3431,7 @@ int pthread_main_np() {
34313431
$errno_t pthread_attr_setstartsuspended_np([[inout]] pthread_attr_t *__restrict self,
34323432
int start_suspended);
34333433

3434-
@@>> pthread_attr_getpidfdallocated_np(3)
3434+
@@>> pthread_attr_getstartsuspended_np(3)
34353435
@@Write 0=no or 1=yes to `*start_suspended', indicative of `pthread_create(3)'
34363436
@@starting newly spawned thread in a suspended state (requiring the creator
34373437
@@to resume the thread at least once before execution actually starts)

kos/src/libc/user/pthread.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2302,8 +2302,8 @@ NOTHROW_NCX(LIBCCALL libc_pthread_attr_setstartsuspended_np)(pthread_attr_t *__r
23022302
}
23032303
/*[[[end:libc_pthread_attr_setstartsuspended_np]]]*/
23042304

2305-
/*[[[head:libc_pthread_attr_getstartsuspended_np,hash:CRC-32=0x8e393509]]]*/
2306-
/* >> pthread_attr_getpidfdallocated_np(3)
2305+
/*[[[head:libc_pthread_attr_getstartsuspended_np,hash:CRC-32=0xab69b8d8]]]*/
2306+
/* >> pthread_attr_getstartsuspended_np(3)
23072307
* Write 0=no or 1=yes to `*start_suspended', indicative of `pthread_create(3)'
23082308
* starting newly spawned thread in a suspended state (requiring the creator
23092309
* to resume the thread at least once before execution actually starts)

kos/src/libc/user/pthread.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* HASH CRC-32:0x63719ace */
1+
/* HASH CRC-32:0x15a4fc0d */
22
/* Copyright (c) 2019-2025 Griefer@Work *
33
* *
44
* This software is provided 'as-is', without any express or implied *
@@ -882,7 +882,7 @@ INTDEF errno_t NOTHROW_NCX(LIBCCALL libc_pthread_atfork)(void (LIBCCALL *prepare
882882
* @return: EOK: Success
883883
* @return: EINVAL: Invalid/unsupported `start_suspended' */
884884
INTDEF ATTR_INOUT(1) errno_t NOTHROW_NCX(LIBCCALL libc_pthread_attr_setstartsuspended_np)(pthread_attr_t *__restrict self, int start_suspended);
885-
/* >> pthread_attr_getpidfdallocated_np(3)
885+
/* >> pthread_attr_getstartsuspended_np(3)
886886
* Write 0=no or 1=yes to `*start_suspended', indicative of `pthread_create(3)'
887887
* starting newly spawned thread in a suspended state (requiring the creator
888888
* to resume the thread at least once before execution actually starts)

0 commit comments

Comments
 (0)