projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7c82b1831524248f3fe6dbd0320ba94545372dee
[musl]
/
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
}