|
|
1.1 ! root 1: .pa 1 ! 2: .he 'NLIST (III)'6/12/72'NLIST (III)' ! 3: .ti 0 ! 4: NAME nlist -- get entries from name list ! 5: .sp ! 6: .ti 0 ! 7: SYNOPSIS jsr r5,nlist; file; list ! 8: .br ! 9: .li ! 10: ... ! 11: .br ! 12: .ti -6 ! 13: file: <file name\\0>; .even ! 14: .br ! 15: .ti -6 ! 16: list: ! 17: .br ! 18: <name1xxx>; type1; value1 ! 19: .br ! 20: <name2xxx>; type2; value2 ! 21: .br ! 22: .li ! 23: ... ! 24: .br ! 25: 0 ! 26: .sp ! 27: .ti 0 ! 28: DESCRIPTION nlist_____ ! 29: will examine the name list in ! 30: the given assembler output file ! 31: and selectively extract a ! 32: list of values. ! 33: The name list consists of ! 34: a list of 8-character names (null padded) ! 35: each followed by two words. ! 36: The list is terminated with a zero. ! 37: Each name is looked up in the name list of ! 38: the file. ! 39: If the name is found, the type and value of the ! 40: name are placed in the two words following ! 41: the name. ! 42: If the name is not found, the type entry is set to -1. ! 43: .sp ! 44: This subroutine is useful for ! 45: examining the system name list kept in ! 46: the file /sys/sys/unix. ! 47: In this way programs can obtain system 'magic' ! 48: numbers that are up to date. ! 49: .sp ! 50: .ti 0 ! 51: FILES kept in /lib/liba.a ! 52: .sp ! 53: .ti 0 ! 54: SEE ALSO a.out(V) ! 55: .sp ! 56: .ti 0 ! 57: DIAGNOSTICS All ! 58: type entries are set to -1 if the file cannot be found ! 59: or if it is not a valid namelist. ! 60: .sp ! 61: .ti 0 ! 62: BUGS --
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.