nice(20); nice(-10); is an attempt to cope with old (Sixth Edition UNIX) nice() semantics in a fashion that continues to work under new (Seventh Edition) nice() semantics.