projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add pivot_root syscall wrapper
[oweals/musl.git]
/
src
/
time
/
timer_delete.c
1
#include <time.h>
2
#include "pthread_impl.h"
3
4
int timer_delete(timer_t t)
5
{
6
if ((uintptr_t)t & 1)
7
return __syscall(SYS_timer_delete, ((unsigned long)t / 2));
8
return pthread_cancel(t);
9
}