Unix Man ( )


BRKCTL(3)


BRKCTL(3)
XENIX System V (21 1987)


brkctl - paeae ae yaeo ceee

#include <sys/brk.h>

char far *brkctl (command, increment, ptr) int command; long increment; char far *ptr;


Cce o brkctl ee ocooae a ooex ceeax ax cyae ao cpee oe pacpeee a. oo, o oop C o cooa opaaee ae popaax ao cpee oe, brkctl oe opaa (far) yaae. p cooa ocae far popaax o oa oc c ao -Me p ao oe c ao -Mme p cpee.

Apye command oe e oo ceyx ae: BR_ARGSEG, BR_NEWSEG BR_IMPSEG.

increment ec co co ao. p oooc o oe ee 64K; ec o opaee, eo acooe aee oo ee cy cex yaex ceeo c a, eea e ceee oce coa poecca.

ptr coyec oo, ec command pae BR_ARGSEG.

Ec increment ooee, brkctl opaae yaae a ee yaco a; eec, o pae epe, uncrement ao.

Ec apye command pae BR_IMPSEG opae increment ae ocooee ooo ecox ceeo, opaaeoe aee pae oceey ocaxc ceeo. BR_IMPSEG ee y cooae oceeo ceea ax. Heaco o oo, ee poecc ay cpe oe a ee a oe oo o cee ax, ooe increment, epeo oce cee ax, ae coae ooo ceea.

Ec apye command pae BR_ARGSEG, acooe aee opaeoo increment e oo pea ceea. Apye ptr oe yaaee eaco o oe a.

Ec apye command pae BR_NEWSEG, increment e oe opae. Beee a cea pocxo o aaa ooo ceea.

Bopaaeoe aee





- -  - -  - -