Files
oldlinux-files/Linux-0.98/Yggdrasil-0.98.3/usr/man/man2/brk.2
2024-02-19 00:21:16 -05:00

23 lines
500 B
Groff

.TH BRK 2
.UC 4
.SH NAME
brk \- set data segment break
.SH SYNOPSIS
.nf
.B #include <sys/types.h>
.B #include <unistd.h>
.B int brk(void *end_datasegment);
.fi
.SH DESCRIPTION
.B brk()
sets the data segment break to the value specified by
.I end_datasegment.
.I end_datasegment
must be greater than end of TEXT, and be before 16K of end of stack.
The new end of data segment is returned by
.B brk()
.SH FILES
linux/kernel/sys.c, /usr/include/linux/sys.h, /usr/include/unistd.h
.SH SEE ALSO
sbrk(3)