mailing list of musl libc
 help / color / mirror / code / Atom feed
91e81e1687cdf9dbb9c42dd7921ea0c80a778bef blob 161 bytes (raw)

1
2
3
4
5
6
7
8
 
#include <stdio.h>

#include "pthread_impl.h"

void __proctidcomm(char *buf, int tid)
{
	snprintf(buf, THREAD_NAME_PATH_SIZE, "/proc/self/task/%d/comm", tid);
}
debug log:

solving 91e81e16 ...
found 91e81e16 in https://inbox.vuxu.org/musl/20201219183721.25532-1-ericonr@disroot.org/

applying [1/1] https://inbox.vuxu.org/musl/20201219183721.25532-1-ericonr@disroot.org/
diff --git a/src/internal/proctidcomm.c b/src/internal/proctidcomm.c
new file mode 100644
index 00000000..91e81e16

Checking patch src/internal/proctidcomm.c...
Applied patch src/internal/proctidcomm.c cleanly.

index at:
100644 91e81e1687cdf9dbb9c42dd7921ea0c80a778bef	src/internal/proctidcomm.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).