1999-12-09 17:26:08 +01:00
. \" Copyright (c) 1991, 1993
. \" The Regents of the University of California. All rights reserved.
. \"
. \" Redistribution and use in source and binary forms, with or without
. \" modification, are permitted provided that the following conditions
. \" are met:
. \" 1. Redistributions of source code must retain the above copyright
. \" notice, this list of conditions and the following disclaimer.
. \" 2. Redistributions in binary form must reproduce the above copyright
. \" notice, this list of conditions and the following disclaimer in the
. \" documentation and/or other materials provided with the distribution.
. \" 3. All advertising materials mentioning features or use of this software
. \" must display the following acknowledgement:
. \" This product includes software developed by the University of
. \" California, Berkeley and its contributors.
. \" 4. Neither the name of the University nor the names of its contributors
. \" may be used to endorse or promote products derived from this software
. \" without specific prior written permission.
. \"
. \" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
. \" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
. \" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
. \" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
. \" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
. \" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
. \" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
. \" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
. \" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
. \" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
. \" SUCH DAMAGE.
. \"
. \" @(#)tcsetpgrp.3 8.1 (Berkeley) 6/4/93
2004-10-11 10:23:01 +02:00
. \" %FreeBSD: src/lib/libc/gen/tcsetpgrp.3,v 1.6.2.3 2001/12/14 18:33:51 ru Exp %
1999-12-09 17:26:08 +01:00
. \"
2001-05-14 03:10:24 +02:00
. \" $FreeBSD$
1999-12-09 17:26:08 +01:00
.Dd June 4 , 1993
.Dt TCSETPGRP 3
.Os
.Sh ̾<EFBFBD> <EFBFBD>
.Nm tcsetpgrp
.Nd <EFBFBD> ե<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 饦<EFBFBD> <EFBFBD> <EFBFBD> ɽ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 롼<EFBFBD> <EFBFBD> ID <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2002-05-18 09:12:57 +02:00
.Sh <EFBFBD> 饤<EFBFBD> ֥<EFBFBD> <EFBFBD> <EFBFBD>
.Lb libc
1999-12-09 17:26:08 +01:00
.Sh <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2002-05-18 09:12:57 +02:00
.In sys/types.h
.In unistd.h
1999-12-09 17:26:08 +01:00
.Ft int
.Fn tcsetpgrp "int fd" "pid_t pgrp_id"
.Sh <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 椹<EFBFBD> <EFBFBD> ü<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ľ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ϡ<EFBFBD>
2004-10-11 10:23:01 +02:00
.Fn tcsetpgrp
1999-12-09 17:26:08 +01:00
<EFBFBD> ؿ<EFBFBD> <EFBFBD> Ϥ<EFBFBD> <EFBFBD> <EFBFBD> ü<EFBFBD> <EFBFBD> <EFBFBD> ǥХ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ϣ<EFBFBD> Ȥ<EFBFBD> <EFBFBD> <EFBFB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BFBD> <EFBFBD> <EFBFBD>
.Fa pgrp_id
<EFBFBD> <EFBFBD> <EFBFBD> ͤϡ<EFBFBD> Ʊ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> å<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ˤ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> θƤӽФ<EFBFBD> ¦<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ν <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 롼<EFBFBD> <EFBFBD> ID <20> <>
Ʊ<EFBFBD> <EFBFBD> <EFBFBD> Ǥʤ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Фʤ<EFBFBD> <EFBFBD> ޤ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2004-10-11 10:23:01 +02:00
.Sh <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
.Rv -std tcsetpgrp
1999-12-09 17:26:08 +01:00
.Sh <EFBFBD> <EFBFBD> <EFBFBD> 顼
2004-10-11 10:23:01 +02:00
.Fn tcsetpgrp
<EFBFBD> ϼ<EFBFBD> <EFBFBD> ξ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ˼<EFBFBD> <EFBFBD> Ԥ<EFBFBD> <EFBFBD> ޤ<EFBFBD> <EFBFBD> <EFBFBD>
1999-12-09 17:26:08 +01:00
.Bl -tag -width Er
.It Bq Er EBADF
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
.Fa fd
<EFBFBD> <EFBFBD> ͭ<EFBFBD> <EFBFBD> <EFBFBD> ʥե<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 뵭<EFBFBD> һ ҤǤϤ<EFBFBD> <EFBFBD> <EFBFBD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BFBD> <EFBFBD> 礵<EFBFBD> <EFBFBD> <EFBFBD> Ƥ<EFBFBD> <EFBFBD> ޤ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
.It Bq Er EPERM
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
.Fa pgrp_id
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ʊ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> å<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ˤ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> θƤӽФ<EFBFBD> ¦<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 롼<EFBFBD> <EFBFBD> ID <20> Ȱ<EFBFBD> <C8B0> פ<EFBFBD> <D7A4> ޤ<EFBFBD> <DEA4> <EFBFBD> <EFBFBD> <EFBFBD>
.El
2004-10-11 10:23:01 +02:00
.Sh <EFBFBD> <EFBFBD> Ϣ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
1999-12-09 17:26:08 +01:00
.Xr setpgid 2 ,
.Xr setsid 2 ,
.Xr tcgetpgrp 3
.Sh <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2004-10-11 10:23:01 +02:00
.Fn tcsetpgprp
1999-12-09 17:26:08 +01:00
<EFBFBD> ؿ<EFBFBD> <EFBFBD> ϡ<EFBFBD>
.St -p1003.1-88
2002-05-18 09:12:57 +02:00
<EFBFBD> <EFBFBD> <EFBFBD> ʤ<EFBFBD> Ŭ<EFBFBD> 礷<EFBFBD> Ƥ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Τ ȹͤ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ޤ<EFBFBD> <EFBFBD> <EFBFBD>