HDTenEightyP/NetNews huggingface dataset:
From: tani@neptune.denki.osakafu-u.ac.jp (TANI Tadaaki,,,)
Newsgroups: fj.lang.awk
Subject: Re: What is info (Re: Pattern1,Pattern2)
Date: 8 Jan 93 00:48:30 GMT
	<6021@pisces.denki.osakafu-u.ac.jp>
Distribution: fj
Organization: College of Engineering, University of Osaka Prefecture, JAPAN


$B!!C+!wBg:eI\N)Bg3X$G$9!#(J

<FURUTA.92Dec26193611@sras48.sra.CO.JP>$B$N5-;v$K$*$$$F(J
furuta@sras48.sra.CO.JP$B$5$s$O=q$-$^$7$?!#(J

>   info $B7A<0$O(J emacs $BMQ$N(J online-manual $B7A<0$G(J texinfo $B7A<0$G=q$+$l$?%U%!(J
> $B%$%k$r@07A$9$k$3$H$GF@$i$l$^$9!#!J$D$^$j!"(Jgawk.info $B$,%*%V%8%'%/%H!"(J 
> gawk.texinfo $B$,%=!<%9!K(J

$B!!3XFb$+$i$b%a!<%k$G65$($F$b$i$$$^$7$?!#(J
$B!!;d$O(J emacs $B$r;H$o$J$$$b$N$G!"$3$s$J$3$H$bCN$j$^$;$s$G$7$?!#(J

> texinfo $B%U%!%$%k$r(J info $B%U%!%$%k$KJQ49$9$k$K$O(J
> $BFsDL$j$NJ}K!$,$"$C$F!"(J

$B!!$"$j$,$H$&$4$6$$$^$9!#$5$C$=$/$d$C$F$_$^$9!#(J


                  $BBg:eI\N)Bg3X9)3XItEE5$9)3X65<<Bh#89V:B!!!!!!C+!!CiL@(J
                                    tani@neptune.denki.osakafu-u.ac.jp
From: tani@neptune.denki.osakafu-u.ac.jp (TANI Tadaaki,,,)
Newsgroups: fj.lang.awk
Subject: Re: Pattern1,Pattern2
Date: 8 Jan 93 00:59:34 GMT
	<I-WADA.92Dec24193134@tsran3.sra.CO.JP>
	<I-WADA.92Dec21145525@tsran3.sra.CO.JP>
	<5970@pisces.denki.osakafu-u.ac.jp>
	<5994@pisces.denki.osakafu-u.ac.jp>
	<6019@pisces.denki.osakafu-u.ac.jp>
	<I-WADA.92Dec
Organization: College of Engineering, University of Osaka Prefecture, JAPAN


$B!!Bg:eI\N)Bg3X$NC+$G$9!#(J

<HIRO.92Dec28152306@skywalker.jaist-east.ac.jp>$B$N5-;v$K$*$$$F(J
hiro@jaist-east.ac.jp$B$5$s$O=q$-$^$7$?!#(J

> $B$H$3$m$,!"%U%!%$%k$N@hF,$+$i!"$"$k9T$^$G$K0lDj$N=hM}$r2C$($kJ}K!$O$3$l$^(J
> $B$G$N5DO@$NCf$G7hDjE*$JJ}K!$,$"$j$^$;$s$G$7$?!#$=$3$G!"$3$s$J$N$O$I$&$G$7$g(J
> $B$&$+!)(J
> 
>   gawk '{ .... }; pattern { exit }' file

$B!!$J$k$[$I!#$$$m$s$J<j$,$"$k$b$s$G$9$M!#(J

> $B$3$&$9$k$H!"(Jpattern $B$K0lCW$7$?9T$,8=$l$?;~E@$G(J exit $B$,<B9T$5$l!"=hM}$O=*(J
> $BN;$7$^$9!#$"$H!"%U%!%$%k$N@hF,$+$i:G=i$N6u9T$^$G$r=hM}$9$k$H$$$&$J$i!"4J(J
> $BC1$K(J
> 
>   gawk -v RS= 'NR==1 { print }' file
> 
> $B$G(J OK $B$G$9!#(J($B$?$@$7!"%P%0$,$"$k$i$7$/(J gawk version 2.14 $B0J9_$G$J$$$H$&$^(J
> $B$/$$$-$^$;$s!#(J)

$B!!%U%!%$%k$N@hF,$+$i:G=i$N6u9T$N<jA0$^$G$r#1$D$N%l%3!<%I$K$7$F$7$^$&$o$1$G(J
$B$9$M!#$&!<$s!"1|$,?<$$$J$"!#(J

> $B>\$7$/$O(J gawk.texinfo $B$"$k$$$O!"$=$N$&$AH/Gd$5$l$kM=Dj$NF|K\8lHG(J gawk $B%^(J
> $B%K%e%"%k$r;2>H$7$F2<$5$$(J :-)

$B!!3Z$7$_$G$9!#$I$3$+$i=PHG$5$l$k$N$G$7$g$&$+!)(J

                  $BBg:eI\N)Bg3X9)3XItEE5$9)3X65<<Bh#89V:B!!!!!!C+!!CiL@(J
                                    tani@neptune.denki.osakafu-u.ac.jp
From: kuno@gssm.otsuka.tsukuba.ac.jp (Yasushi Kuno)
Newsgroups: fj.lang.misc
Subject: Re: [Pascal] Pascal for education (Re: Pointer)
Date: 6 Jan 93 04:57:45 GMT
Distribution: fj
Organization: GSSM Otsuka, Univ. of TSUKUBA, Tokyo, Japan

$B5WLn$G$9!#$*@57nAa!92<$N5-;v$K4X$7$F%a!<%k$r(J2$BDLD:$$$F$7$^$$$^$7$?!#(J
$B%U%)%m!<$O$J$$$h$&$G$9$M$(!#(J

$B;d(J:
>   $B$"!<$N!<!"(Jcall by name$B$N(Jthunk$B$r:G=i$K(J1$B2s$@$1I>2A$7$F=*$o$j$K$7(J
> $B$F$$$$$b$s$J$s$G$7$g$&$+!#$$$$>l9g$,B?$$$N$OJ,$+$j$^$9$,!"$$$$$+(J
> $B$I$&$+$O8F$P$l$kB&$@$1$N>pJs$8$c$"J,$+$i$J$$$H;W$&$N$G$9!#Nc$($P!"(J
> $B8F$VB&$,(J
> ...

  $B$=$l$G!";d$,=q$$$?%W%m%0%i%`$,(JPascal$B$NJ8K!$K$+$J$C$F$J$$$H$$$&(J
$B$4;XE&$,$"$C$?$s$G$9$,!"$o$?$7$b(JPascal$B$r=q$$$?$D$b$j$OA4A3$"$j$^(J
$B$;$s!#$"!<$=$&$+!"(JSubjec$BMs$,(J[Pascal]$B$K$J$C$?$^$^$J$N$,$$$1$^$;$s(J
$B$G$7$?$M!#$I$&$b$9$$$^$;$s$G$7$?!#$D$$$G$G$9$,!"$=$NB>$N$4;XE&$O(J:

  1. Pascal$B$G(Jcall by name$B$7$?$1$l$P4X?t0z?t;H$($P$h$$$G$O$J$$$+!#(J

  $B$3$l$KBP$7$F$O!"!V(JPascal$B$G4X?t0z?t;H$&$H7?8!::$,$G$-$J$$=hM}7O(J
$B$,@NN.I[$7$F$$$?$N$G;H$$$?$/$J$+$C$?$7!"$d$C$Q$jLLE]$/$5$$!W$HH?(J
$BO@$5$;$FD:$-$^$9!#$J$*!";d$O(JPascal$B7y$$$8$c$"$j$^$;$s$h!#@h$N5-;v(J
$B$@$C$F(JPascal$B$rHcH=$7$F$k$D$b$j$OA4A3$"$j$^$;$s$G$9!#(Jcall by name
$B$NOCBj$@$C$?$s$G$9$1$I$M!<!#(J

  2. Pascal$B$G$O%k!<%W@)8fJQ?t$O6I=jJQ?t$K8B$i$l$F$$$k$G$O$J$$$+!#(J

  $B$O$$!"$*$*$;$NDL$j$G$9!#$G$9$+$i(JPascal$B$8$c$J$$$s$G$9$C$F$P!#$G(J
$B$b(JPascal$B$G$b(Jwhile$BJ8$H$+$G;H$&$s$J$i5v$5$l$^$9$h$M!#$G!"2?2s$G$b(J
$B7+$jJV$7$^$9$1$I!";d$O(JPascal$B$rHcH=$7$?$s$8$c$J$/$F!"!V(Jcall by
name$B$,Kh2s(Jthunk$B$r8F$V$N$,=E$?$$!W$H$$$&5DO@$KBP$7$F!V$=$s$J$N%3(J
$B%s%Q%$%i$,:GE,2=$9$k$G$7$g$&!W$H$$$&5-;v$,$"$C$?$+$i!V$=$l$O>o$K(J
$B2DG=$H$O8B$i$J$$$G$7$g$&!W$H$$$$$?$+$C$?$@$1$J$s$G$9$1$I!#(J

  3. $B6I=jJQ?t$K8B$k$J$i$P!"%3%s%Q%$%i=q$/$N$OFq$7$/$J$$!#(J

  $B$=$j$c$=$&$G$9!#$G$9$+$i!"(Jfor$B%k!<%W$N%3!<%I@8@.$,Fq$7$$$H$+8F(J
$B$S=P$7$,Fq$7$$$H$+$$$&$s$8$c$J$/$F!"(Jcall by name$B0z?t$r<B8=$9$k>l(J
$B9g!"8F$P$lB&$G(Jthunk$B$r(J1$B2sI>2A$7$?$@$1$G$"$H$O$=$NCM$r7+$jJV$7MxMQ(J
$B$9$k$h$&$J:GE,2=$r$7$F$$$$>l9g$H$$$1$J$$>l9g$N6hJL$r$A$c$s$H$D$1(J
$B$F$=$N$h$&$J:GE,2=$r$9$k$h$&$J%3%s%Q%$%i=q$/$N$OBgJQ$J$s$8$c$J$$(J
$B$G$7$g$&$+!"$H$$$&0UL#$@$C$?$N$G$9$1$I!#(J

    $B7k6IJ,$+$j$K$/$$5-;v$r=q$$$?$N$,$$$1$J$$$N$+$7$i$s!#(J    $B5WLn(J
From: ss26037@secc.ecc.u-tokyo.ac.jp (matusita daisuke)
Newsgroups: fj.lang.lisp
Subject: I want commom-lisp to c
Date: 8 Jan 93 16:03:42 GMT
Distribution: fj
Organization: Educational Computer Center, University of Tokyo, Japan

$@=i$a$FEj9F$7$^$9!#$I$&$+$h$m$7$/$*4j$$$7$^$9!#(J
common lisp $@$+$i(J c $@$KJQ49$7$F$/$l$k%W%m%0(J$@%i%`$OB8:_$9$k$N$G$7$g$&$+!#(J
$@!J(J scheme-to-c $@$N$h$&$J!K$b$7$"$k$N$G$7$?$i(J mail $@$J$I$G65$($FD:$1$k$H(J
$@$"(J$@$j$,$?$$$N$G$9$,!#(J

$@El5~Bg3X?t3X2J=$;N0lG/(J  $@>>2<(J  $@Bg2p(J
   e-mail address dmatu@tansei.cc.u-tokyo.ac.jp
Newsgroups: fj.lang.lisp
From: ss26037@secc.ecc.u-tokyo.ac.jp (matusita daisuke)
Subject: Doumo Arigatou Gozaimasita
Organization: Educational Computer Center, University of Tokyo, Japan
Distribution: fj
Date: Wed, 13 Jan 1993 05:11:36 GMT

$@<ALd(J

common-lisp $@$+$i(J c $@$KJQ49$9$k(J tool $@$O$"$j$^$;$s$+!)(J 

$@$KBP$7$F(J

$@:y0f!wEl9)Bg(J  $@$5$s(J
$@$H$_$6$o(J      $@$5$s(J
$@@DLZ(J          $@$5$s(J
$@86!w#N#T#T%G!<%?DL?.(J  $@$5$s(J
$@ED1:(J          $@$5$s(J

$@$+$i(J follow $@$N(J mail $@$rD:$-$^$7$?!#(J
$@$I$&$bM-Fq$&$4$6$$$^$7$?!#(J


--
      $@>>2<(J  $@Bg2p(J              $@El5~Bg3X?t3X2J(J$@=$;N0lG/(J
                             Email dmatu@tansei.cc.u-tokyo.ac.jp
From: kate@pfu.fujitsu.co.JP (Yoshio Katayama)
Newsgroups: fj.lang.c
Subject: Re: [Q] fork()
Date: 7 Jan 93 13:14:38 GMT
Distribution: fj
Organization: PFU Limited, Tokyo Japan.
In-reply-to: suzumura@katana.mis.hiroshima-u.ac.jp's message of 6 Jan 93 06:19:11 GMT

$@JR;3!w#P#F#U$G$9!#(J

In article <SUZUMURA.93Jan6151911@katana.mis.hiroshima-u.ac.jp>,
	suzumura@katana.mis.hiroshima-u.ac.jp (Fumihiro Suzumura) writes:

>fork() $@4X?t$G@8@.$5$l$?;R%W%m%;%9$r(J exit $@$G(J$@=*$m$&$H$7$?$H$3$m(J
>$@40A4$K>C5n$5$l$:$K%>%s%S$H$J$C$F;D$C$F$7$^$$$^$7$?!#(J
>$@$J$<$3$s$J$3$H$,5/$3$k$N$G$7(J$@$g$&$+!)(J
>$@;29M$^$G$K%W%m%0%i%`$N0lIt$G$9!#(J

$@A4BN$,L5$$$N$G?dB,$G$9$,!"?F%W%m%;%9$,(J wait() $@$rA4$/9T$J$C(J$@$F$$$J(J
$@$$$+!"9T$J$C$F$$$F$b$=$N8e$G(J exit() $@$7$F$$$k%W%m%;%9$,M-$k$N$G$O(J
$@$J$$$+$H;W$$$^$9!#(J

$@!t(J fj.lang.c $@$h$j$O(J fj.unix $@$H$$$&5$$,$9$k!D(J
--
($@3t(J)$@#P#F#U!!#33+!K%=%U%H%&%'%"5;=Q?d?JIt!!3+H/5;=Q2](J
    $@JR;3!!(J$@A1IW(J    E-mail: kate@pfu.fujitsu.co.jp
		  Tel:    0427-96-5211
    $@!J$5!K!_#1(J  $@!J$]!K!_#1(J  $@!J%3!K!_#1(J  $@!J$$!K!_#2(J
From: sakoh@sra.co.jp (Sako Hiroshi)
Newsgroups: fj.lang.c
Subject: Re: [Q] fork()
Date: 6 Jan 93 18:16:50 GMT
Followup-To: fj.lang.c
Distribution: fj
Organization: Software Research Associates, Inc., Boulder

In article <SUZUMURA.93Jan6151911@katana.mis.hiroshima-u.ac.jp>, 
suzumura@katana.mis.hiroshima-u.ac.jp (Fumihiro Suzumura) writes:

>> fork() $B4X?t$G@8@.$5$l$?;R%W%m%;%9$r(J exit $B$G=*$m$&$H$7$?$H$3$m(J
>> $B40A4$K>C5n$5$l$:$K%>%s%S$H$J$C$F;D$C$F$7$^$$$^$7$?!#(J

$B$A$c$s$H(J wait(2) $B$r;H$C$F$$$^$9$+!)(J

>> $B:G6a(J fj.lang.c $B$NOCBj$O(JC++$B$J$s$G$9$1$I!"(J
>> $B$h$m$7$/$*4j$$$7$^$9!#(J

$B$3$l$O(J C $B$NLdBj$G$O$J$/!"(JUNIX $B%7%9%F%`%W%m%0%i%_%s%0$NLdBj$G$9!#(J

$B$G$O(J Good luck!

Sako Hiroshi <sakoh@sra.co.jp>
Newsgroups: fj.lang.c
Subject: Re: [Q] fork()
From: manmos@knowledge.co.jp (Hideo "Sir MaNMOS" Morisita)
Date: 7 Jan 93 02:17:52 GMT
Distribution: fj
Organization: Knowledge. Co., Osaka, Japan
In-reply-to: suzumura@katana.mis.hiroshima-u.ac.jp's message of 6 Jan 93 06:19:11 GMT


$@?92<(J $@$*Be41MM(J $@#M#a#N#M#O#S!w%J%l%C%8$G!#(J

$@B>$K$b%U%)%m!<$,$"$k$G$7$g$&$,!D(J

In article <SUZUMURA.93Jan6151911@katana.mis.hiroshima-u.ac.jp> suzumura@katana.mis.hiroshima-u.ac.jp (Fumihiro Suzumura) writes:

 >$@$O$8$a$^$7$F(J $@NkB<!w9-Eg9)Bg$G$b$J$<$+9-EgBg3X$G$9!#(J
 >
 >C $@$G%W%m%0%i%`$rAH$s$G$F<!$N$h$&$JLdBj$,@8$8$^$7$?!#(J
 >fork() $@4X?t$G@8@.$5$l$?;R%W%m%;%9$r(J exit $@$G=*$m$&$H$7$?$H$3$m(J
 >$@40A4$K>C5n$5$l$:$K%>%s%S$H$J$C$F;D$C$F$7$^$$$^$7$?!#(J
 >$@$J$<$3$s$J$3$H$,5/$3$k$N$G$7$g$&$+!)(J
 >

$@?F%W%m%;%9$G(Jwait(wait3$@$G$b(Jwait4$@$G$b$$$$$1$I(J)$@$7$F$$$J$$$N$G$O!)!)(J
$@!J(JReadOK$@$NItJ,$G$7$F$$$?$i!"$4$a$s$J$5$$!K(J

$@$h$&$9$k$K!"!V$*Ar<0$r5s$2$F!"0d8@>u$r3+$+$J$$$H(J(wait$@$G(Jstatus$@$r<h$i$J(J
$@$$$H(J)$@@.J)$7$J$$(J(zonbie$@$K$J$k(J)$@!W$C$F$3$H$G$9$M!#(J


--
   ___      $@$o$7$O!";3?a?'$N$+$9$F!<$i$,Bg9%$-$G$N$%(J
 [[o o]]             $@$U$)$C$U$)$C$U$)(J
   'J'   $@?92<(J $@$*Be41MM(J $@#M#a#N#M#O#S(J $@1QIW!w#k#n#o#w#l#e#d#g#e(J
Newsgroups: fj.lang.c
From: suzumura@katana.mis.hiroshima-u.ac.jp (Fumihiro Suzumura)
Subject: Re: [Q] fork()
Organization: Dept. of Integrate Arts and Sciences, Hiroshima University
	<KATE.93Jan7221438@kagura.trad.pfu.fujitsu.co.jp>
Distribution: fj
Date: Fri, 8 Jan 1993 00:34:31 GMT


In article <KATE.93Jan7221438@kagura.trad.pfu.fujitsu.co.jp> kate@pfu.fujitsu.co.JP (Yoshio Katayama) writes:

 |$@!t(J fj.lang.c $@$h$j$O(J fj.unix $@$H$$$&5$$,$9$k!D(J

$@$I$&$d$i$=$N$h$&$G$9!#(J
$@$I$&$b$7$D$l$$$7$^$7$?!#(J

--
Fumihiro Suzumura
suzumura@katana.mis.hiroshima-u.ac.jp
From: makino@icphimiko.ic.epson.co.jp (Kenichi Makino)
Newsgroups: fj.lang.c
Subject: Re: [Q] fork()
Date: 7 Jan 93 00:29:57 GMT
Distribution: fj
Organization: SEIKO EPSON Corp., Nagano, Japan.

$@KRLn!w%;%$%3!<%(%W%=%s$G$9!#(J

In article <SUZUMURA.93Jan6151911@katana.mis.hiroshima-u.ac.jp> suzumura@katana.mis.hiroshima-u.ac.jp (Fumihiro Suzumura) writes:
 |$@$O$8$a$^$7$F(J $@NkB<!w9-Eg9)Bg$G$b$J$<$+9-EgBg3X$G$9!#(J
 |
 |C $@$G%W%m%0%i%`$rAH$s$G$F<!$N$h$&$JLdBj$,(J$@@8$8$^$7$?!#(J
 |fork() $@4X?t$G@8@.$5$l$?;R%W%m%;%9$r(J exit $@$G=*$m$&$H$7$?$H$3$m(J
 |$@40A4$K>C5n$5$l$:$K%>%s(J$@%S$H$J$C$F;D$C$F$7$^$$$^$7$?!#(J
 |$@$J$<$3$s$J$3$H$,5/$3$k$N$G$7$g$&$+!)(J

$@A4$F$N%W%m%;%9$K$O?F%W%m%;%9$K(J$@=*N;%3!<%I$rJV$95AL3$,$"$k$h$&(J
$@$G%W%m%;%9$,=*N;$7$F$b?F%W%m%;%9$,=*N;%3!<%I$r<u$1$H$C$F$/$l(J
$@$k$^$G$O%>(J$@%s%S!&%W%m%;%9$H$7$F;D$C$F$7$^$$$^$9!#(J

$@?F%W%m%;%9$,;R%W%m%;%9$N=*N;%3!<%I$r<u$1$H$k$K$O(J wait() $@%7%9(J
$@%F%`!&%3!<%k$r;H$$$^$9!#(J
$@$^!";R%W%m%;%9$N%W%m%;%9(JID$@$,J,$+$C$F$$$k$N$J$i(J waitpid() $@$r(J
$@;H$C$?J}$,$$$$$H(J$@;W$$$^$9!#(J

--
  $@KRLn(J  $@8,0l(J  $@%;%$%3!<%(%W%=%s(J $@El5~%G%6%$%s%;%s%?!<(J
  makino@icphimiko.ic.epson.co.jp
From: yaguchi@athena1.cent.saitama-u.ac.jp (Takeshi Yaguchi)
Newsgroups: fj.lang.c
Subject: Re: [Q] fork()
Date: 7 Jan 93 01:18:17 GMT
Distribution: fj
Organization: Dept. of Computer Science, Saitama Univ, Japan
In-reply-to: suzumura@katana.mis.hiroshima-u.ac.jp's message of 6 Jan 93 06:19:11 GMT

$@Lp8}!w:k6LBg3X>pJs9)$G$9!#(J

In article <SUZUMURA.93Jan6151911@katana.mis.hiroshima-u.ac.jp> suzumura@katana.mis.hiroshima-u.ac.jp (Fumihiro Suzumura) writes:

> C $@$G%W%m%0%i%`$rAH$s$G$F<!$N$h$&$JLdBj$,@8$8$^$7$?!#(J
> fork() $@4X?t$G@8@.$5$l$?;R%W%m%;%9$r(J exit $@$G=*$m(J$@$&$H$7$?$H$3$m(J
> $@40A4$K>C5n$5$l$:$K%>%s%S$H$J$C$F;D$C$F$7$^$$$^$7$?!#(J
> $@$J$<$3$s$J$3$H$,5/$3$k$N$G$7$g(J$@$&$+!)(J

  $@?F%W%m%;%9$G(J wait()$@%7%9%F%`%3!<%k$r8F$s$G!";R%W%m%;%9$N=*N;$r(J
$@3NG'$7$J$$$H;R%W%m%;%9$O;`$K$-(J$@$l$J$/$F%>%s%S$K$J$j$^$9!#(J
Sun$@$N(Jman$@$G$O!"(Jps $@$N(J<defunct>$@$N@bL@$K$G$F$-$^$9!#(J
$@Nc$($P!"?F%W%m%;%9$G(J

  if(wait(&status) != pid) return -1; $@$N$h$&$K$d$k$3$H$,B?$$$G$9!#(J

  $@G/Kv$O!"$3$l$G$:$C$HG:$s$G$$$^$7$?(J$@$,(JUNIX$@$N4pK\$_$?$$$G!"!V%+!<%M%k$N(J
$@@_7W!W$rFI$_D>$5$J$1$l$P$$$1$J$$$J$H;W$$$^$7$?!#(J
--
==========================================================================
 $@:k6LBg3X9)3XIt>pJs9)3X2J#4G/(J  $@>pJs5!4o9V(J$@:B(J           $@Lp8}(J $@9d;K(J
 Saitama univ. Department of Computer Science      Takeshi Yaguchi
===>>E-mail>> yaguchi@cent.saitama-u.ac.jp>>====a member of $@#A#C#C#E#S#S(J==
Newsgroups: fj.lang.c,fj.comp.oops
From: s905571@educ.info.kanagawa-u.ac.jp (Yasunari Momoi)
Subject: WANTED: NIH class library on IBM-PC
Organization: Faculty of Science , Kanagawa Univ., Kanagawa, Japan.
Date: Tue, 12 Jan 1993 10:40:55 GMT
Distribution: fj

$@Em0f!w?@F`@nBg$G$9!#(J
fj.lang.c $@$H(J fj.comp.oops $@$N%/%m%9%]%9%H$G$9!#(J

IBM-PC $@>e$GF0$/!J(J$@$G$-$l$P!"(J Borland C++ $@$G%3%s%Q%$%k$G$-$k!K(J
NIH class library $@$rC5$7$F$$$^$9!#(J

$@$h$m$7$/$*4j$$$7$^$9!#(J
--
-------------------------------------------------------------------------
# What do you look at me,          | $@?@F`@nBg3XM}3XIt>pJs2J3X2J(J3$@G/(J
#                                  |           $@Em0f(J $@9/@.(J (Yasunari Momoi)
#                when you hate me? | (s905571@educ.info.kanagawa-u.ac.jp)
From: sugimoto@sso.sumiden.co.jp (SUGIMOTO Shigetoshi)
Newsgroups: fj.lang.c
Subject: Re: [Q] fork()
Date: 7 Jan 93 01:34:08 GMT
Distribution: fj
Organization: Sumitomo Electric Industries, Ltd. Osaka,Japan
In-reply-to: suzumura@katana.mis.hiroshima-u.ac.jp's message of 6 Jan 93 06:19:11 GMT


In article <SUZUMURA.93Jan6151911@katana.mis.hiroshima-u.ac.jp>
 suzumura@katana.mis.hiroshima-u.ac.jp (Fumihiro Suzumura) writes:
 |fork() $@4X?t$G@8@.$5$l$?;R%W%m%;%9$r(J exit $@$G=*$m$&$H$7$?$H$3$m(J
 |$@40A4$K>C5n$5$l$:$K%>%s%S$H$J$C$F;D$C$F$7$^$$$^$7$?!#(J
 |$@$J$<$3$s$J$3$H$,5/$3$k$N$G$7$g$&$+!)(J

$@?F%W%m%;%9$,(Jwait$@$7$F$J$$$+$i$G$7$g$&!#(J
----            $@!?!?!?(J
    $@$X$X(J      $@#S#E#I(J           $@?yK\7C=S!w>pJs%7%9%F%`8&5fIt!%=;M'EE9)(J
    $@!w!w(J
     $@!A(J                        $@$[$2(J
From: kawahara@icsc.kme.mei.co.jp (Kenichi Kawahara)
Newsgroups: fj.lang.c
Subject: Re: [Q] fork()
Date: 7 Jan 93 08:51:10 GMT
Distribution: fj

$B=i$a$^$7$F!"@n86!w6e=#>>2<$G$9!#(J

In <YAGUCHI.93Jan7101817@athena1.cent.saitama-u.ac.jp> yaguchi@athena1.cent.saitama-u.ac.jp (Takeshi Yaguchi) writes:
>In article <SUZUMURA.93Jan6151911@katana.mis.hiroshima-u.ac.jp> suzumura@katana.mis.hiroshima-u.ac.jp (Fumihiro Suzumura) writes:
>
>> C $B$G%W%m%0%i%`$rAH$s$G$F<!$N$h$&$JLdBj$,@8$8$^$7$?!#(J
>> fork() $B4X?t$G@8@.$5$l$?;R%W%m%;%9$r(J exit $B$G=*$m$&$H$7$?$H$3$m(J
>> $B40A4$K>C5n$5$l$:$K%>%s%S$H$J$C$F;D$C$F$7$^$$$^$7$?!#(J
>> $B$J$<$3$s$J$3$H$,5/$3$k$N$G$7$g$&$+!)(J
>
>  $B?F%W%m%;%9$G(J wait()$B%7%9%F%`%3!<%k$r8F$s$G!";R%W%m%;%9$N=*N;$r(J
>$B3NG'$7$J$$$H;R%W%m%;%9$O;`$K$-$l$J$/$F%>%s%S$K$J$j$^$9!#(J
>Sun$B$N(Jman$B$G$O!"(Jps $B$N(J<defunct>$B$N@bL@$K$G$F$-$^$9!#(J
>$BNc$($P!"?F%W%m%;%9$G(J
>
>  if(wait(&status) != pid) return -1; $B$N$h$&$K$d$k$3$H$,B?$$$G$9!#(J

$B?F%W%m%;%9$,(J wait() $B$9$l$PNI$$$N$G$9$,!"%5!<%PEy$K$7$?$$>l9g$O(J
$B0l$D$N;R%W%m%;%9$N$?$a$K(J wait() $B$7$F$*$/$3$H$O=PMh$^$;$s$N$G!"(J
SIGCHLD(SIGCLD) $B%7%0%J%k$rMQ$$$^$9!#(J

System V $B$G$O!";R%W%m%;%9$r%>%s%S2=$7$J$$$?$a$K$O(J SIGCLD $B%7%0%J%k$r(J
SIG_IGN $B$K@_Dj$9$l$P$h$$$N$G$9$,!"(J4.3BSD $B$G$O;R%W%m%;%9$N=*N;%7%0%J%k(J
SIGCHLD $B$rJaB*$7!"%>%s%S>uBV$N%W%m%;%9$r4"$j<h$i$J$1$l$P$J$j$^$;$s!#(J
SunOS $B$O(J Solaris2.x $B$^$G$O(J BSD $B%Y!<%9$G$9$+$i!"0J2<$N$h$&$J=hM}$,(J
$BI,MW$K$J$k$H;W$$$^$9!#(J($B?F$O2?$b$9$kI,MW$,$J$$$J$i(J wait $B$G$$$$$1$I(J)

main()
{
    /* $B%>%s%S%W%m%;%9$r:n@.$7$J$$(J */
#ifdef BSD
    signal(SIGCHLD, reaper);
#else
    signal(SIGCLD,  SIG_IGN);
#endif
        :   :
    while(1) {
        /* $B%/%i%$%"%s%H$+$i$NMW5aBT$A(J */
            :   :
        if(fork() == 0) {
            /* $B;R%W%m%;%9$O%5!<%S%9Ds6!(J */
            :   :
            exit(0);
        }
        /* $B?F%W%m%;%9$O%/%i%$%"%s%H$+$i$NMW5aBT$A$KLa$k(J */
            :   :
    }
}

#ifdef BSD
int reaper()
{
    union wait  status;
    while(wait3(&status, WNOHANG, 0) > 0)
        ;
}
#endif
-- 
                            $B@n868-0l!w6e=#>>2<EE4o(J($B3t(J)
                                      $BBhO;;v6HIt(J $B%7%9%F%`3+H/<<(J
                            (kawahara@icsc.kme.mei.co.jp)
From: d90148@chubu.ac.jp (Murayama Fumitaka)
Newsgroups: fj.lang.c
Subject: Re: [Q] fork()
Date: 9 Jan 93 04:50:07 GMT
	<D90148.93Jan7104940@elec.chubu.ac.jp>
	<TAKA.93Jan8171307@litra.fxis.fujixerox.co.jp>
Reply-To: d90148@chubu.ac.jp
Distribution: fj
Organization: Chubu University, Kasugai, Aichi, Japan.
In-reply-to: taka@fxis.fujixerox.co.jp's message of 08 Jan 93 17:13:07 JST

$@!!!!B<;3!wCfItBg3X$G$9!#(J

In article <TAKA.93Jan8171307@litra.fxis.fujixerox.co.jp> taka@fxis.fujixerox.co.jp (Takahiro Kanbe) writes:

 $@!d(J In article <D90148.93Jan7104940@elec.chubu.ac.jp>
 $@!d(J 	    d90148@chubu.ac.jp (Murayama Fumitaka) writes:
 $@!d(J 	   $@%W%m%0%i%`$r8+$k$H!"(Jfork() $@$7$F$+$i(J execvp() $@$7$F$$$^$9$+$i!"(J
 $@!d(J 	 $@%(%i!<$K$J$i$J$$8B$j!"<!$N(J exit() $@$O<B9T$5$l$^$;$s$h$M!#(J
 $@!d(J 
 $@!d(J $@%(%i!<$K(J$@$J$C$?>l9g$K!"(Jexit(1)$@$7$F?F%W%m%;%9$KDLCN$9$k$N$G$9$+$i!"(J
 $@!d(J $@$3$l$OJL$K9=$o$J$$$G$7$g$&!#(J

$@!!!!$=$&$G(J$@$9$M!#;d$,8@$C$F$$$?$N$O!"?F%W%m%;%9$N(J execvp() $@$N<!$N(J
$@!!9T$K$"$k(J exit() $@$,<B9T$5$l$J$$$H$$$&$3$H$G$9(J$@!#$3$l$b!":#9M$($k(J
$@!!$H;d$NAa$H$A$j$G!"2?$b4X78$N$J$$OC$7$G$7$?!#(J

$@!!!!$I$&$b!"<:Ni$7$^$7$?!#(J
--
     -=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-
       $@CfItBg3X(J $@9)3XIt(J $@EE;R9)3X2J(J $@#3G/(J  $@B<;3(J $@J89'(J (Murayama Fumitaka)
                                          E-Mail: d90148@chubu.ac.jp
     -=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-
From: taka@fxis.fujixerox.co.jp (Takahiro Kanbe)
Newsgroups: fj.lang.c
Subject: Re: [Q] fork()
Date: 8 Jan 93 17:13:07
Organization: Fuji Xerox Information Systems Co., Ltd., Tokyo, Japan.
Distribution: fj
	<D90148.93Jan7104940@elec.chubu.ac.jp>
NNTP-Posting-Host: litra.nwt.fxis.fujixerox.co.jp
In-reply-to: d90148@chubu.ac.jp's message of 7 Jan 93 01:49:40 GMT

In article <D90148.93Jan7104940@elec.chubu.ac.jp>
	d90148@chubu.ac.jp (Murayama Fumitaka) writes:
       $B%W%m%0%i%`$r8+$k$H!"(Bfork() $B$7$F$+$i(B execvp() $B$7$F$$$^$9$+$i!"(B
     $B%(%i!<$K$J$i$J$$8B$j!"<!$N(B exit() $B$O<B9T$5$l$^(B$B$;$s$h$M!#(B

$B%(%i!<$K$J$C$?>l9g$K!"(Bexit(1)$B$7$F?F%W%m%;%9$KDLCN$9$k$N$G$9(B$B$+$i!"(B
$B$3$l$OJL$K9=$o$J$$$G$7$g$&!#(B

--
$B?@8M!!N4Gn!J$+$s$Y!!$?$+$R$m!K(B		FXIS / Network Group.
					taka@fxis.fujixerox.co.jp
From: hry@belial.osakac.ac.jp (Hisashi MINAMINO)
Newsgroups: fj.lang.c
Subject: [Q] C++: how to pass argc and argv to global object
Date: 8 Jan 93 05:20:53 GMT
Reply-To: hry@belial.osakac.ac.jp
Distribution: fj
Organization: Osaka Electro-Communication Univ., Japan

$B%0%m!<%P%k$KDj5A$5$l$?%*%V%8%'%/%H%$%s%9%?%s%9$KBP$7$F(J main() 
$B$N0z?t(J$B$G$"$k(J argc, argv, envp $B$J$I$rEO$9$K$O$I$&$9$l$P$h$$$G$7$g(J
$B$&$+!#(J

main() ($B$N%f!<%6$,=q$$$?%3!<%IItJ,(J)$B$K@)8f$,0\$kA0$K(J global
object instance $B$N(J constructor $B$O(J invoke $B$5$l$^$9$h$M!)(J

$B$=$N;~$K(J argc, argv $B$J$s$+$rEO$7$?$$$N$G$9$,!D(J


$B$G$-$l$P=hM}7O$d(J runtime startup routine $B$J$s$+$K<j$r2C$($:$K(J
$B<B8=$7$?$$(J$B$N$G$9$,!"$I$&$7$h$&$b$J$1$l$P$=$N$?$a$N%,%$%I%i%$%s(J
$B$r<($7$FD:$1$k$H9,$$$G$9!#(J

$B4D6-$H$7$F$OFCDj$;$:(J$B$K%]!<%?%V%k$K<B8=$G$-$l$P(J more better $B$G(J
$B$9$,!"(JSunOS4.1.2(-JLE1.1.2), NEWS-OS4.2[CR] $B$K$*$$$F(J,
gcc-2.3.2 $B$G<B8=$G$-$l$P(J good $B$G$9!#(J

thanks in advance,
--
  Hisashi MINAMINO <hry@efreet.osakac.ac.jp>, Asano lab (Comp Geometry),
  Dept of Applied Electronic Eng., Osaka Electro-Communication University
From: d90148@chubu.ac.jp (Murayama Fumitaka)
Newsgroups: fj.lang.c
Subject: Re: [Q] fork()
Date: 7 Jan 93 01:49:40 GMT
Reply-To: d90148@chubu.ac.jp
Distribution: fj
Organization: Chubu University, Kasugai, Aichi, Japan.
In-reply-to: suzumura@katana.mis.hiroshima-u.ac.jp's message of 6 Jan 93 15:19:11 JST


    $@$O$8$a$^$7$F!"B<;3!wCfItBg3X$H?=$7$^$9!#(J

    $@K\Bj$H$O30$l$^$9$,(J$@!"(J

In article <SUZUMURA.93Jan6151911@katana.mis.hiroshima-u.ac.jp> suzumura@katana.mis.hiroshima-u.ac.jp (Fumihiro Suzumura) writes:

 $@!d(J fork() $@4X?t$G@8@.$5$l$?;R%W%m%;%9$r(J exit $@$G=*$m$&$H$7$?$H$3$m(J
 $@!d(J $@40A4$K>C5n$5$l$:$K%>%s%S$H$J$C$F;D$C$F$7$^$$$^$7$?!#(J

    $@%W%m%0%i%`$r8+$k$H!"(Jfork() $@$7$F$+$i(J execvp() $@$7$F$$$^$9$+$i!"(J
  $@%(%i!<$K$J$i$J$$8B$j!"<!$N(J exit() $@$O<B9T$5$l$^$;$s$h$M!#(J

    $@$^$?!"%^%K%e%"%k(J$@$r8+$k$H!"(J

 > execv() $@$N0z?t$O!"<B9T$9$Y$-%U%!%$%kL>$H!"0z?t$r4^$`J8;zNs$N(J
 > $@%Y%/%H%k$G$9!#:G8e$N0z(J$@?tJ8;zNs$N8e$K(J 0 $@%]%$%s%?$rB3$1$J$1$l$P(J
 > $@$J$j$^$;$s!#(J

  $@$H$"$j$^$9$+$i!"(J

 $@!d(J 	char args[3][10];
...
 $@!d(J 	    strcpy(args[0],"ip");
 $@!d(J 	    strcpy(args[1],"700");
 $@!d(J 	    strcpy(args[2],"10");
 $@!d(J 	    execvp("ip",args);

  $@$G$O$J$/$F!"(J

 >     char *args[10];
...
 >         args[0] = "ip";
 >         args[1] = "700";
 >         args[2] = "10";
 >         args[3] = NULL;
 >         execvp("ip",args);

  $@$G$O$J$$$G$7$g$&$+!#(J

    $@$J$*!";d$N$H$3$m$G$O!"%>%s%S$O$G$-$^$;$s$G$7$?!#(J

$@!t:G6a!"(Jexec $@$N(J$@0RNO$rCN$j$^$7$?!#0z?t$rD>@\EO$;$k$N$,$$$$$G$9!#(J
--
     -=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-
       $@CfItBg3X(J $@9)3XIt(J $@EE;R9)3X2J(J $@#3G/(J  $@B<;3(J $@J89'(J (Murayama Fumitaka)
                                          E-Mail: d90148@chubu.ac.jp
     -=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-
From: suzumura@katana.mis.hiroshima-u.ac.jp (Fumihiro Suzumura)
Newsgroups: fj.lang.c
Subject: [Q] fork()
Date: 6 Jan 93 06:19:11 GMT
Distribution: fj
Organization: Dept. of Integrate Arts and Sciences, Hiroshima University


$@$O$8$a$^$7$F(J $@NkB<!w9-Eg9)Bg$G$b$J$<$+9-EgBg3X$G$9!#(J

C $@$G%W%m%0%i%`$rAH$s$G$F<!$N$h$&$JLdBj$,@8(J$@$8$^$7$?!#(J
fork() $@4X?t$G@8@.$5$l$?;R%W%m%;%9$r(J exit $@$G=*$m$&$H$7$?$H$3$m(J
$@40A4$K>C5n$5$l$:$K%>%s%S$H$J(J$@$C$F;D$C$F$7$^$$$^$7$?!#(J
$@$J$<$3$s$J$3$H$,5/$3$k$N$G$7$g$&$+!)(J

$@;29M$^$G$K%W%m%0%i%`$N0lIt$G$9!#(J

out_z_point(who)
struct client_data *who;
{
    int i,y,f[4],pid;
    char *local_buf;
    char args[3][10];

    local_buf=(char *)malloc(10*YUV_LEN);

    SendCommand(who->com);

    if (0==(pid=fork())){
	fprintf(stderr,"child prosecc\n");
	strcpy(args[0],"ip");
	strcpy(args[1],"700");
	strcpy(args[2],"10");
	execvp("ip",args);
	exit(1);
    }else if(pid > 0){
	for (i=0;i<4;i++){
	    f[i]=open(fname[i],O_RDWR|O_CREAT,0666);
	    RecvLine(10,local_buf);
	    write(f[i],local_buf,YUV_LEN*10);
	    close(f[i]);
	}
	free(local_buf);
	ReadOk(who);
    }
}

$@:G6a(J fj.lang.c $@$NOCBj$O(JC++$@$J$s$G$9$1$I!"(J
$@$h$m$7$/(J$@$*4j$$$7$^$9!#(J

--
Fumihiro Suzumura
suzumura@katana.mis.hiroshima-u.ac.jp