delorie.com/archives/browse.cgi | search |
From: | pjfarley3 AT escape DOT com (Peter J. Farley III) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | libc question: Why no setpgrp()? |
Message-ID: | <3b68c7f6.8131322@news.escape.com> |
X-Newsreader: | Forte Free Agent 1.21/32.243 |
Lines: | 23 |
NNTP-Posting-Date: | Wed, 01 Aug 2001 22:29:27 CDT |
Organization: | Giganews.Com - Premium News Outsourcing |
X-Trace: | sv3-8uLv7TvtSKhxGqVc7dr9dv0XS+LanjtkLXiYIbR7dJS4lcEx1c0UhLeBMyssBNy0kDTD2ZjmsDV2XGH!j8br3+NtbX44tJxReq2vCDv6V+VHBfn4Twr1M9AZTalmvQ+TjizsCYQhrNAyYbM= |
X-Complaints-To: | abuse AT GigaNews DOT Com |
X-DMCA-Notifications: | http://www.giganews.com/info/dmca.html |
X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
Date: | Thu, 02 Aug 2001 03:34:12 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I ask because a unix configure script I'm running wants to test whether getpgrp takes no argument, and the test program it tries to run uses the setpgrp() function. Needless to say, the compile fails, and configure takes its default value, which assumes that getpgrp() *does* take an argument, whereas DJGPP's getpgrp() does *not* take an argument. Was this function just overlooked, or is it impossible to define suitably for the DJGPP environment? I can take this over to djgpp-workers if you think that is a more appropriate forum. If someone can tell me how the function is supposed to work, I'd be willing to try to implement a suitable version. Right now, I'd just like to be able to add a "working" function to libc so this configure script will get the correct result. TIA for any info or advice you can offer. ---------------------------------------------------- Peter J. Farley III (pjfarley AT nospam DOT dorsai DOT org OR pjfarley3 AT nospam DOT escape DOT com)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |