|
|
1.1 root 1: /*
2: / sysou - outpue a record
3: */
4:
5: #include "osint.h"
6: #include "spitblks.h"
7: #include "spitio.h"
8:
9: sysou()
10:
11: {
12: register struct fcblk *fcb = WA (struct fcblk *);
13: register struct scblk *scb = XR (struct scblk *);
14:
15: /* ensure iob is open, fail if unsuccessful */
16: if ( osopen( fcb->iob ) != 0 )
17: return EXIT_1;
18:
19: /* write the data, fail if unsuccessful */
20: if ( oswrite( fcb->rsz, scb->len, fcb->iob, scb) != 0 )
21: return EXIT_2;
22:
23: /* normal return */
24: return NORMAL_RETURN;
25: }
26:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.