!<arch> Islsget 418431544 968 27 100644 179 ` 10th The 1st Software 2nd Project 3rd Management 4th System 5th (SPMS) 6th is 7th a 8th system 9th for aaa management Aaa of BBB medium bbb to Bbb large bbb/ software bb/ systems Oslsget 418431544 968 27 100644 179 ` bb/ systems bbb/ software Bbb large bbb to BBB medium Aaa of aaa management 9th for 8th system 7th a 6th is 5th (SPMS) 4th System 3rd Management 2nd Project 1st Software 10th The Tslsget.c 418431544 968 27 100644 771 ` /* * slsget() * slsrewind() */ #include <stdio.h> #include "null.h" #include "slslist.h" #define KEYSIZE 10 #define STRSIZE 128 char *PGN = "Tslsget"; main() { char key[KEYSIZE]; /* key to be added */ char *slsprepend(); /* prepend key+string */ char string[STRSIZE]; /* string to be added */ SLSBLK *nextblk; /* pointer to next block */ SLSBLK *slsget(); /* get next key+string block */ SLSLIST *slsinit(); /* initialize list */ SLSLIST *slslist; /* pointer to list head block */ void slsrewind(); /* rewind list */ slslist = slsinit(); while (scanf("%s%s", key, string) != EOF) slsprepend(key, string, slslist); slsrewind(slslist); while ((nextblk = slsget(slslist)) != NULL) printf("%s %s\n", nextblk->key, nextblk->string); exit(0); }