cechew@bruce.cs.monash.OZ.AU (Earl Chew) (07/31/90)
Announcing Estdio Version 2.0 ----------------------------- The following 8 shar files contain the latest version of my implementation of stdio for Minix (estdio Version 2.0). Estdio provides Minix with a full ANSI and Posix compliant stdio for Minix. It has been some time (at least six months) since I last posted a version of this. Since then, the package has changed a great deal --- which is why I'm reposting it in its entirety rather than as a patch kit. Two intermediate forms of estdio have escaped into the world but only to a few people. Strangely enough, immediately after receiving their copies they vanished and I never heard from them again... Bruce Evans has provided most of the feedback (complaints :-) for this package and for this I thank him. Roughly half of the distribution is made up of installation code and the like. The other half is the stdio code proper. Estdio is supported by Bruce Evans makelib script --- although I prefer to edit his script slightly (changes are included). Floating point is now fully supported. Hooks are provided for you to place the floating point code in a maths library so integer only code will usually be linked in. This will only be of use to those of you running floating point with the ack compiler. Namespace hiding has been included. This requires an assembly stub to be compiled. This feature is optional and is probably useless until the entire library implements this feature. Estdio has been tested on Minix 1.5.10 running bcc and ack, Sun systems with its native cc and gcc and a Pyramid with its native cc. Here is the first part of the Minix documentation file: ------------------------------------------------------------------------------- EStdio Installation For Minix ============================ This package provides a complete replacement for Minix stdio. It implements all the functions required for ANSI and POSIX 1003.1-1988 compatibility. The resulting code is slightly larger but considerably faster. The following are run times for the test programs found in the TEST subdirectory. Each program writes about 256k of output to /dev/null. The programs were compiled using Bruce Evans' bcc in 16-bit mode on a 20MHz 386. EStdio Minix Stdio ten real 4.0 user 3.7 sys 0.1 real 11.0 user 7.2 sys 3.3 putc real 1.0 user 0.8 sys 0.2 real 5.0 user 4.6 sys 0.2 fputs real 2.0 user 0.9 sys 0.1 real 5.0 user 4.9 sys 0.2 nfputs real 13.0 user 1.5 sys 11.1 real 3:18.0 user 18.5 sys 2:58.9 fwrite real 0.0 user 0.0 sys 0.0 real 6.0 user 5.9 sys 0.1 sprintf real 4.0 user 3.8 sys 0.0 real 11.0 user 10.7 sys 0.0 printf real 4.0 user 3.9 sys 0.1 real 14.0 user 10.8 sys 2.9 nprintf real 48.0 user 12.6 sys 35.1 real 3:23.0 user 21.1 sys 3:01.7 printfs real 1.0 user 1.2 sys 0.1 real 18.0 user 9.6 sys 8.5 putchar real 2.0 user 0.8 sys 0.1 real 5.0 user 4.4 sys 0.2 ------------------------------------------------------------------------------- Please send bug reports (and patches) to me. I will do my best to respond. Earl -- Earl Chew, Dept of Computer Science, Monash University, Australia 3168 ARPA: cechew%bruce.cs.monash.oz.au@uunet.uu.net ACS : cechew@bruce.oz ----------------------------------------------------------------------