From owner-freebsd-hackers Fri Sep 1 13:55:31 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from merc95.us.sas.com (merc95.us.sas.com [149.173.6.5]) by hub.freebsd.org (Postfix) with ESMTP id DA14A37B424 for ; Fri, 1 Sep 2000 13:55:26 -0700 (PDT) Received: from merc95.us.sas.com ([127.0.0.1]) by merc95.us.sas.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2651.58) id RVYT7XPJ; Fri, 1 Sep 2000 16:55:25 -0400 Received: from 10.28.149.26 by merc95.us.sas.com (InterScan E-Mail VirusWall NT); Fri, 01 Sep 2000 16:55:25 -0400 (Eastern Daylight Time) Received: from bb01f39.unx.sas.com (bb01f39.unx.sas.com [10.16.2.246]) by mozart.unx.sas.com (8.9.3 (PHNE_18979)/8.9.3) with ESMTP id QAA01622 for ; Fri, 1 Sep 2000 16:55:24 -0400 (EDT) Received: (from jwd@localhost) by bb01f39.unx.sas.com (8.9.3/8.9.1) id QAA38750 for freebsd-hackers@FreeBSD.org; Fri, 1 Sep 2000 16:55:24 -0400 (EDT) (envelope-from jwd) Date: Fri, 1 Sep 2000 16:55:24 -0400 From: John DeBoskey To: freebsd-hackers@FreeBSD.org Subject: SIOCSPGRP documentation? Message-ID: <20000901165524.A38704@unx.sas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Like the subject says, I'm looking for documentation on the SIOCSPGRP ioctl call: rc = ioctl(port,SIOCSPGRP,&pid); I've gone through the source tree and while I can find references where it's used, and where the functionality is defined, there appears to be no doc (or man page). Basically, I've got portable code that works sometimes and fails others. It seems to revolve around a call(or lack thereof) to set the process group leader: if (setpgid (getpid (), getpid ()) == -1) { any pointers are appreciated. Thanks! John -- FreeBSD... The choice of those who know how to choose...(anon) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message