|
|
1.1 root 1: /* brk.c 4.2 83/07/26 */
2:
3: #include "SYS.h"
4:
5: #define SYS_brk 17
6:
7: .globl curbrk
8: .globl minbrk
9:
10: ENTRY(brk)
11: cmpl 4(ap),minbrk
12: bgeq ok
13: movl minbrk,4(ap)
14: ok:
15: chmk $SYS_brk
16: jcs err
17: movl 4(ap),curbrk
18: clrl r0
19: ret
20: err:
21: jmp cerror
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.