Sign in
android
/
toolchain
/
rr
/
eda23a1c9cf89d22b15d838fdf46042b51a3e4ca
/
.
/
src
/
test
/
fcntl_sig.c
blob: 3e72248736b7b95c60ba608dc75aab22b8eec37b [
file
] [
log
] [
blame
]
/* -*- Mode: C; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */
#include
"util.h"
int
main
(
void
)
{
test_assert
(
0
==
fcntl
(
1
,
F_SETSIG
,
SIGCHLD
));
test_assert
(
SIGCHLD
==
fcntl
(
1
,
F_GETSIG
,
0
));
atomic_puts
(
"EXIT-SUCCESS"
);
return
0
;
}