From 885f9ac2db6178a196a0f7df54c47b7459283e4f Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Tue, 19 Oct 2004 21:03:53 +0000 Subject: [PATCH] Enice(): added git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1733 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/ensc_wrappers/wrappers-unistd.hc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/util-vserver/ensc_wrappers/wrappers-unistd.hc b/util-vserver/ensc_wrappers/wrappers-unistd.hc index 9a3d95f..9cd29a8 100644 --- 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()"); +} -- 1.8.1.5