Mail Archives: djgpp/1992/08/24/18:10:10
Stubbed out functions for djgpp 1.08
------------------------------------
A bunch of functions were called by the FSF utilites that were not
in libc.a and don't really apply under DOS. It seemed better to
provide stubbed out versions of these functions rather than to
modifiy the FSF source every time it used one of these functions.
The functions are:
sync(), getgroups(), mknod(), mkfifo(), sigaction(),
sigemptyset(), sigfillset(), sigaddset(), sigdelset(),
sigismember(), wait(), execl(), execv(), execle(), execve(),
execlp(), execvp()
I also had to create the include file <sys/wait.h>, and I had to
provide prototypes for the above signal-related functions in
<signal.h>.
To get these stubbed out functions, move the file stubs.c to
/djgpp/libsrc/c/sys/stubs.c and include it in libc.a. Move the
file wait.h to /djgpp/include/sys. Patch the existing
/djgpp/include/signal.h with the patch supplied below.
begin 644 patch3.zoo
M6D]/(#(N,3`@07)C:&EV92X:``#<I\3]*@```-;___\"``$````````#W*?$
M_0("CP$``'$````8&?-:RS]T`@``'@$```(!``````````!S:6=N86QH+F1I
M9@``"@`<!04`````I`%`````0"DC*``!"5N7K34DY@\`?R/#2N-@'1VQN)XU
MXV3=!*XH%C2A+:,VC-XW?IJ<1%B[H>%JB!I-TI2 AT Q%:C)LTW+1!P,T/+"L)I
M AT DDGEEGUZPEW;IH8XXWJ--GTEFG\-O5*7/SIP\=FC9(&,SJ(,VW8`PQP@'=2
M>I"CAPQK/I6JY9P(3K-YF52DZXI8A4P]X:BAZW,1R?@X6./0JL"ZA-;SO.--
M AT 0IL`H&';0W>(X\8U>'%KFQN+47*$+Y'KO?%R*8"%8:BQ]M)%O>7E18!-M,S
MWR'=87!U)-6QPG1]G/R:=:@?@/6UD&71]X"!?T/&\YT0]M[>8X*3+#.R6I"4
M_R0U-.:/0Y]^**3I_U"&6GM]CK[*G?W45#^1"BCC>G!CNB)TA```W*?$_0("
M6@,``-8!```8&?):%9?6!```A`$```(!``````````!S='5B<RYC`&1I9@``
M"@`</P``````I`%`````0"DC*``!9V)WKDBHL>^`/P8#CACF\QE&$@BP$Z`H
M((B7<O\S/K;^TMMW71'QN_<Q0=[N$&`O'"BHQ&"P$9;@`C:;=NRT/'F4 AT Q)H
MA*=-L@?28+#;0\,P?B&*(3)YR">:T<Q$#?%RVMX!B^AL!YJ`$)>3Q>#R AT Y>&
M9&*'YAOS)(&QY]="\((0?&L`JN3H-%PG,6)!HU@/>\/?Y>6\+=BE=8CP;1 AT A
MW)38TMM^?=XLRR-;>AGPELWK*=6JMSR8J7`\+*H]A7L5[5*(YJR&>47TA*Q%
M0/5.X*J6Y$R0SJ,2BPB,Z1,.3M^\T[U&]EF"8(F&&:XA;#4P6O7IZ#/9[7P-
M8EB^SG*](Y+>7IG+2I$5N33,:8:)ZN0M3OY-GHW^EA(>%T)\$N:Q$TZ]"7OU
M7H AT 5/!EO[(+8SXC];SKK=_4:8+?\:*3A=M&/\.5\-=,TVPZ=)CZQP;S[]7/.
MX.+%<<N2X+[[_K!MWX AT V[S>?[44/_HL?U1EWN5$]T/O34.:)5^+']IK\P?YX
MG```W*?$_0(`L@,``*$#```8&?1:%",1````$0````(!``````````!W86ET
M+F@``&1I9@``"@`<]H<`````I`%`````0"DC*``C:6YC;'5D92`\<W1D+F@^
M"MRGQ/T"````````````````````````````````````````````````````
,`````````````/R#
`
end
--
Eric Backus
ericb%hplsla AT hplabs DOT hp DOT com
(206) 335-2495
- Raw text -