summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-20 15:22:48 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-20 15:22:48 +0000
commitcc31550d01415181e70150ad3e9043d049b07a09 (patch)
tree8631f84ba6390798f72576552f2c1b869e64ff3b /src/include
parent155f489a29ecc7d7b9b66e435739e69f40653562 (diff)
downloadskalibs-cc31550d01415181e70150ad3e9043d049b07a09.tar.xz
Add fd_shutdown()
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/djbunix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/skalibs/djbunix.h b/src/include/skalibs/djbunix.h
index 3c52f6a..03cc1af 100644
--- a/src/include/skalibs/djbunix.h
+++ b/src/include/skalibs/djbunix.h
@@ -34,6 +34,7 @@ extern int fd_cat (int, int) ;
extern size_t fd_catn (int, int, size_t) ;
extern int fd_ensure_open (int, int) ;
#define fd_sanitize() (fd_ensure_open(0, 0) && fd_ensure_open(1, 1) && fd_ensure_open(2, 1))
+extern void fd_shutdown (int, int) ;
extern int lock_ex (int) ;
extern int lock_exnb (int) ;
extern int lock_sh (int) ;