From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2580 invoked by alias); 23 Sep 2003 15:19:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 2550 invoked from network); 23 Sep 2003 15:19:44 -0000 Received: from unknown (HELO smtp2.fre.skanova.net) (195.67.227.95) by sources.redhat.com with SMTP; 23 Sep 2003 15:19:44 -0000 Received: from P450 (t1o73p6.telia.com [62.20.218.6]) by smtp2.fre.skanova.net (8.12.10/8.12.10) with SMTP id h8NFJUbr002204 for ; Tue, 23 Sep 2003 17:19:43 +0200 (CEST) From: "Hannu E K Nevalainen \(garbage mail\)" To: "ML CygWIN" Subject: man 2 setpriority - issues Date: Tue, 23 Sep 2003 15:20:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-09/txt/msg01470.txt.bz2 $ man 2 getpriority ... SYNOPSIS ... int setpriority(int which, int who, int prio); ... $ man 2 setpriority No entry for setpriority in section 2 of the manual IMO this is very confusing IF you're not aware of it. I spent some time finding out. Then; "PRIO_PROCESS" mentioned later in the manpage doesn't seem to be defined anywhere in the include files... $ cd /usr/include/ $ grep PRIO_PROCESS * $ Any pointers on where to find it - or how to bypass this when it gets used in something you wish to build? http://www.cygwin.com/ml/libc-hacker/2002-07/msg00013.html seems to contain a diff on resources.h that adds (removes?) PRIO_PROCESS and friends. Is this a "correct" change to apply? Is there any Windows-"ism" affecting this on cygwin? /Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E -- UTC+01, DST -> UTC+02 -- --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/