12-24-2014
Merry XMAS all.
Have a good break...
5 More Discussions You Might Find Interesting
1. What is on Your Mind?
Merry Christmas to the Greatest UNIX Forum on Earth!
This "UNIX Christmas Song" song has been around a while but it's still fun. :-)
#UNIX Christmas Song
better !pout !cry
better watchout
lpr why
santa claus <north pole >town
cat /etc/passwd >list
ncheck list
ncheck list
cat list... (5 Replies)
Discussion started by: cassj
5 Replies
2. What is on Your Mind?
Merry Christmas and all best wishes to all fox in this forum
salute from Croatia (0 Replies)
Discussion started by: solaris_user
0 Replies
3. What is on Your Mind?
https://www.unix.com/members/neo-albums-forum-pics-picture567-merry-christmas.png (1 Reply)
Discussion started by: Neo
1 Replies
4. What is on Your Mind?
I wish all Administrators,Moderators, Code Taggers, all members and followers of this forum that Santa brings you the gift of never ending happiness this Christmas!
May you and your family be blessed abundantly.
Merry Christmas and a Prosperous New Year! :)
With Best Regards,
Akshay Hegde (1 Reply)
Discussion started by: Akshay Hegde
1 Replies
5. What is on Your Mind?
Hello All,
I would like to wish merry x-mas to all of you. May GOD bless us all with wisdom, love, positivity and great positive energy, cheers and happy holidays :)
Thanks,
R. Singh (1 Reply)
Discussion started by: RavinderSingh13
1 Replies
BRK(2) System Calls Manual BRK(2)
NAME
brk, sbrk, break - change core allocation
SYNOPSIS
char *brk(addr)
char *sbrk(incr)
DESCRIPTION
Brk sets the system's idea of the lowest location not used by the program (called the break) to addr (rounded up to the next multiple of 64
bytes on the PDP11, 256 bytes on the Interdata 8/32, 512 bytes on the VAX-11/780). Locations not less than addr and below the stack
pointer are not in the address space and will thus cause a memory violation if accessed.
In the alternate function sbrk, incr more bytes are added to the program's data space and a pointer to the start of the new area is
returned.
When a program begins execution via exec the break is set at the highest location defined by the program and data storage areas. Ordinar-
ily, therefore, only programs with growing data areas need to use break.
SEE ALSO
exec(2), malloc(3), end(3)
DIAGNOSTICS
Zero is returned if the break could be set; -1 if the program requests more memory than the system limit or if too many segmentation regis-
ters would be required to implement the break.
BUGS
Setting the break in the range 0177701 to 0177777 (on the PDP11) is the same as setting it to zero.
ASSEMBLER
(break = 17.)
sys break; addr
Break performs the function of brk. The name of the routine differs from that in C for historical reasons.
BRK(2)