From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,116d2dc2c007de2d,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-08-23 01:32:41 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: jing116@263.net (jing) Newsgroups: comp.unix.tru64 Subject: a question about system program Date: 23 Aug 2001 01:32:41 -0700 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 202.99.54.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 998555561 31839 127.0.0.1 (23 Aug 2001 08:32:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 23 Aug 2001 08:32:41 GMT Xref: archiver1.google.com comp.unix.tru64:4333 When I use the function of 'setpgid(void)',it completed sucessfully,but after this,I use 'setpgrp(void)',it return -1 .why does this happened,and does it effect my program or system? Thanks in advance!