Mail Archives: djgpp/1992/08/24/19:03:19
pathconf() and sysconf() for djgpp 1.08
---------------------------------------
These are new POSIX functions to make it easier to write portable
code. At least, it'll be easier once everyone has working
implementations of these functions. They are used to determine
things like the maximum length of a filename, or the maximum
number of files you can open at once.
To get these functions, move pathconf.c and sysconf.c to
/djgpp/libsrc/c/gen. Apply the supplied patches to
/djgpp/include/limits.h and /djgpp/include/unistd.h.
begin 644 patch5.zoo
M6D]/(#(N,3`@07)C:&EV92X:``#<I\3]*@```-;___\"``$````````#W*?$
M_0("[P,``'$````8&2I;:B(*"```?@,```(!``````````!L:6UI='-H+F1I
M9@``"@`<R<T`````I`%`````0"DC*``#-6R[T2<<P\S/@#_F7PR/2,$8R1GC
M(IW0R$$Q!RRWPF:CJ.Y`W2FZ61[XX_Z`KV(R=,RW,MOP!N</>N2;<NW;H2FF
M,I.N\B AT UR`B@:ID!ED&+_=@[.[#VA?Q8F>3HZ.BP1>U^X7%W,]=86[;^7[A@
M9Y\&`*O9:(/MUX0'QZ.0%_NFZ'D3V--3,%)TFD.72$J#R!RS&/5\QD AT 27U)L
M2#',%WI$M^FDNHQRAG=RO?:+R:\PZF<75BZ^QG%ASN\GT`?X*NU+*"-0*UE2
M4(T'2HAU)",APT%!&A1#+;=5")@3L2('5R\P&$.4FE;3]-K3<:S5,]RY<OL]
MERN,PE*>16M;$2B0%(`OL6/EYK3./P<=R5F[^TQ/0B,J4E2$Y:`I2/^6DW?&
M*''XK;6&%E'J9M`A!:8Y41^@*-'Z5G$E&-N,6/?;-ESOP5NC&UTDH13.#F2L
MO9`5IC*^V]65P[BR)RG#4:4O^EWVH+&WMVEM&Q0D3'"<B4^J*.,11/Y8'/.*
M"',VUY5&NW AT X)5I,@/JXZWQ:H?W>:\F_>)-]B5&F+]T#@V<DQ:S2Z?H4"::"
MAZZ]B\#PU(EE1ZF'&9.M%,NE>"&LM!><-%*@<"2E<R")V#=LMZ]>M AT 7OQQ=[
M4%D#8L2X&='`,J5`;00<;2#9-%7C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