mailing list of musl libc
 help / color / mirror / code / Atom feed
6490101dbebc31583bdbb29a603a11481580c86e blob 116 bytes (raw)

1
2
3
4
5
6
7
8
 
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"

pid_t gettid(void)
{
	return __syscall(SYS_gettid);
}
debug log:

solving 6490101d ...
found 6490101d in https://inbox.vuxu.org/musl/CAA2zVHp2CiKHap0Fdg371YCXqC5ReEL3jcr3s5TwrtbiiUM8aA@mail.gmail.com/

applying [1/1] https://inbox.vuxu.org/musl/CAA2zVHp2CiKHap0Fdg371YCXqC5ReEL3jcr3s5TwrtbiiUM8aA@mail.gmail.com/
diff --git a/src/linux/gettid.c b/src/linux/gettid.c
new file mode 100644
index 00000000..6490101d

Checking patch src/linux/gettid.c...
Applied patch src/linux/gettid.c cleanly.

index at:
100644 6490101dbebc31583bdbb29a603a11481580c86e	src/linux/gettid.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).