Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-src.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-12-09 00:04:57 +0300
committerKonstantin Belousov <kib@FreeBSD.org>2021-12-09 03:48:46 +0300
commit5346570276a5ddfd5f530201fcbf24ddcc53033d (patch)
tree3377ad0889e35a728fdd56ccd2edd6c9812e8eeb /include
parentc1a8472793cf6374552ccdbf13a1fa56b598d63a (diff)
swapoff: add one more variant of the syscall
Requested and reviewed by: brooks Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33343
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 5f358ad72d9a..8e44e472c6d6 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -579,7 +579,7 @@ int setruid(uid_t);
void setusershell(void);
int strtofflags(char **, u_long *, u_long *);
int swapon(const char *);
-int swapoff(const char *);
+int swapoff(const char *, u_int);
int syscall(int, ...);
off_t __syscall(quad_t, ...);
int undelete(const char *);