|
DataMuseum.dkPresents historical artifacts from the history of: Commodore CBM-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Commodore CBM-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 437 (0x1b5) Types: TextFile Notes: UNIX file Names: »_fp.c«
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code └─⟦f4b8d8c84⟧ UNIX Filesystem └─ ⟦this⟧ »libc/stdio/_fp.c«
/* * Standard I/O Library Internals * File structures * (note stderr default unbuffered) */ #include <stdio.h> extern int _fginit(), _fpinit(); FILE *_fp[_NFILE] = { &_stdin, &_stdout, &_stderr }; FILE _stdin = { NULL, NULL, NULL, 0, &_fginit, &_fpinit, _FINUSE, 0, 0 }; FILE _stdout = { NULL, NULL, NULL, 0, &_fginit, &_fpinit, _FINUSE, 1, 0 }; FILE _stderr = { NULL, NULL, NULL, 0, &_fginit, &_fpinit, _FINUSE|_FSTBUF, 2, 0 };