Sponsored Content
Full Discussion: Great Job!
Contact Us Post Here to Contact Site Administrators and Moderators Great Job! Post 302883233 by Neo on Sunday 12th of January 2014 08:15:28 AM
Old 01-12-2014
Thank you for the nice comments!
 

2 More Discussions You Might Find Interesting

1. What is on Your Mind?

Great deal!

Okay, I don't know how this is funny, but it is. I found this while searching for Linux (please don't ask). :o (0 Replies)
Discussion started by: gnerd
0 Replies

2. Post Here to Contact Site Administrators and Moderators

Great service -- why?

This a great service! I'm just curious how the people who are paying for the server, domain name, etc. are paying their bills. It doesn't look like this site generates any income through ads... why not try putting google's adwords on the site? Seems like it would be free money. (1 Reply)
Discussion started by: scottish
1 Replies
NICE(2) 						     Linux Programmer's Manual							   NICE(2)

NAME
nice - change process priority SYNOPSIS
#include <unistd.h> int nice(int inc); DESCRIPTION
nice adds inc to the nice value for the calling pid. (A large nice value means a low priority.) Only the superuser may specify a negative increment, or priority increase. RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately. ERRORS
EPERM A non-super user attempts to do a priority increase by supplying a negative inc. CONFORMING TO
SVr4, SVID EXT, AT&T, X/OPEN, BSD 4.3. However, the Linux and glibc (earlier than glibc 2.2.4) return value is nonstandard, see below. SVr4 documents an additional EINVAL error code. NOTES
Note that the routine is documented in SUSv2 to return the new nice value, while the Linux syscall and (g)libc (earlier than glibc 2.2.4) routines return 0 on success. The new nice value can be found using getpriority(2). Note that an implementation in which nice returns the new nice value can legitimately return -1. To reliably detect an error, set errno to 0 before the call, and check its value when nice returns -1. SEE ALSO
nice(1), getpriority(2), setpriority(2), fork(2), renice(8) Linux 2001-06-04 NICE(2)
All times are GMT -4. The time now is 03:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy