delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/23/11:20:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Hannu E K Nevalainen \(garbage mail\)" <garbage_collector AT telia DOT com>
To: "ML CygWIN" <cygwin AT cygwin DOT com>
Subject: man 2 setpriority - issues
Date: Tue, 23 Sep 2003 17:19:39 +0200
Message-ID: <NGBBLLIAMFLGJEOAJCCEOEHDDEAA.garbage_collector@telia.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

$ 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019