projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Enice(): added
[util-vserver.git]
/
util-vserver
/
ensc_wrappers
/
wrappers-unistd.hc
diff --git
a/util-vserver/ensc_wrappers/wrappers-unistd.hc
b/util-vserver/ensc_wrappers/wrappers-unistd.hc
index
9a3d95f
..
9cd29a8
100644
(file)
--- a/
util-vserver/ensc_wrappers/wrappers-unistd.hc
+++ b/
util-vserver/ensc_wrappers/wrappers-unistd.hc
@@
-200,3
+200,9
@@
Elseek(int fildes, off_t offset, int whence)
FatalErrnoError(res==(off_t)-1, "lseek()");
return res;
}
+
+inline static WRAPPER_DECL void
+Enice(int n)
+{
+ FatalErrnoError(nice(n)==-1, "nice()");
+}