Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
thread
/
thrd_detach.c
blob: 1fc7024febf7d0530e936f87daa387f5193d3420 [
file
] [
log
] [
blame
]
#include
<threads.h>
#include
"threads_impl.h"
int
thrd_detach
(
thrd_t
t
)
{
switch
(
__pthread_detach
(
t
))
{
case
0
:
return
thrd_success
;
default
:
return
thrd_error
;
}
}