|
|
1.1 root 1: /*
2: * static char ID_chgc[] = "@(#) change.c: 1.1 1/7/82";
3: */
4:
5: change(pointer)
6: char *pointer;
7: {
8:
9: int scan;
10:
11: pointer = (char *) (((long)pointer) & ~BYTEMASK);
12: for(scan=0;scan<NUMBERFRAMES;scan++)
13:
14: if( manager[scan].frame_pntr == pointer)
15: {
16: manager[scan].ref_chng = WRTN;
17: return(SUCCESS);
18: }
19:
20: return(fatal("CH01--attempt to set ref/chng flag on item not in core"));
21: }
22:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.