AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
ARCONVERT( 1) ARCONVERT( 1) NAME arconvert - archive conversion tool SYNOPSIS arconvert [archive] DESCRIPTION Arconvert uses the convert( 1) utility to transform UNIX System Release 5.0 archive files to the UNIX System Release 5.2 archive formal FILES If no archive arguments are passed to arconvert, it will transform all files found in /lib and /usr/lib (and recursively under any of their subdirectories) whose name ends with the ".a" suffix, and whose type, as reported by the file( I) utility, is "5.0 archive". If an argument is passed to arconvert, that file alone will be transformed if its type, as reported by the file utility, is "5.0 archive". Any me which is converted is first saved under its pathname, with the suffix "-old" appended to it. /tmp/convlibs, /tmp/archives SEE ALSO ar(l), a.out(4), ar(4), find(l), convert(1). - I-
BRK(2) BRK(2) NAME brk, sbrk - change data segment space allocation SYNOPSIS int brk (endds) char *endds; char *sbrk (incr) int incr; DESCRIPTION Brk and sbrk are used to change dynamically the amount of space allocated for the calling process's data segment; see exec(2). The change is made by resetting the process's break value and allocating the appropriate amount of space. The break value is the address of the first location beyond the end of the data segment The amount of allocated space increases as the break value increases. Brk sets the break value to endds and changes the allocated space accordingly. Sbrk adds incr bytes to the break value and changes the allocated space accordingly. /ncr can be negative, in which case the amount of allocated space is decreased. Sbrk clears only the page actually allocated, starting at a page boundary. Brk and sbrk will fail without making any change in the allocated space if one or more of the following are true: Such a change would result in more space being allocated than is allowed by a system-imposed maximum (see ulimit (2)). [ENOMEM] Such a change would result in the break value being greater than the start address of any attached shared memory segment (see shmop(2)). RETURN VALUE Upon successful completion, brk returns a value of 0 and sbrk returns the old break value. Otherwise, a value of -1 is returned and errno is set to indicate the error. SEE ALSO exec(2). -1-
- Page 2 and 3: ©1986, 1985 AT&T All Rights Reserv
- Page 4 and 5: Important Information, Version 3.51
- Page 6 and 7: Important Information, Version 3.51
- Page 8 and 9: Important Information, Version 3.51
- Page 10 and 11: Important Information, Version 3.51
- Page 12 and 13: Windowing Software, Version 3.51 --
- Page 14 and 15: Windowing Software, Version 3.51 --
- Page 16 and 17: Document Preparation, Version 3.51
- Page 18 and 19: Document Preparation, Version 3.51
- Page 20 and 21: Document Preparation, Version 3.51
- Page 22 and 23: Document Preparation, Version 3.51
- Page 24 and 25: Document Preparation, Version 3.51
- Page 26 and 27: APPENDIX A: Document Preparation, V
- Page 28 and 29: APPENDIX A: Document Preparation, V
- Page 30: APPENDIX B: Document Preparation, V
- Page 35 and 36: 470(1) 470( 1) NAME 470 - filters n
- Page 37: 478(1) ESC-s ESC-U ESC-u ESC-W ESC-
- Page 41 and 42: COL( l) COL( l) NAME col - filter r
- Page 43 and 44: CONVERT( I) CONVERT( I) NAME conver
- Page 45 and 46: EQNCHAR(S) EQNCHAR(S) NAME eqnchar
- Page 47 and 48: FX (1) FX(l) NAME fx - filters nrof
- Page 49 and 50: HPU(l) HPU( 1) NAME hplj -filters n
- Page 51 and 52: ISMPX(l) ISMPX(l) NAME ismpx - retu
- Page 53 and 54: JWIN( l) NAME SYNOPSIS jwin jwin -p
- Page 55 and 56: KTUNE(7) nclist npbuf ncall nttyhog
- Page 57 and 58: LAYERS (l) LAYERS (!) NAME layers -
- Page 59 and 60: LAYERS (l) LAYERS (l) SEE ALSO sh(l
- Page 61 and 62: LAYERS (5) LAYERS (5) identical to
- Page 63 and 64: MACREF(l) MACREF( l) NAME macref -
- Page 65 and 66: MAN( l) 478-12 478-18 479 479-12 47
- Page 67 and 68: MAN(S) MAN(S) NAME man - macros for
- Page 69 and 70: MAN(S) MAN(S) The final example is
- Page 71 and 72: MM(1) 475-17 478 478-12 478-18 479
- Page 73 and 74: MM(S) MM(S) NAME mm - the mm macro
- Page 75 and 76: NDX{l) NDX( l) NAME ndx - create a
- Page 77 and 78: NEQN(l) NEQN(l) NAME neqn - format
- Page 79 and 80: NROFF(1) NROFF( 1) NAME nroff - tex
- Page 81 and 82: NROFF (l) NROFF( l) FILES /usrllib/
- Page 83 and 84: NTERM(S) NTERM(S) Em size of an em
- Page 85 and 86: PTX (l) PTX( l) NAME ptx - make per
- Page 87 and 88: SUBJ(l) SUBJ(l) NAME subj -generate
BRK(2) BRK(2)<br />
NAME<br />
brk, sbrk - change data segment space allocation<br />
SYNOPSIS<br />
int brk (endds)<br />
char *endds;<br />
char *sbrk (incr)<br />
int incr;<br />
DESCRIPTION<br />
Brk and sbrk are used to change dynamically the amount of space allocated<br />
for the calling process's data segment; see exec(2). The change is<br />
made by resetting the process's break value and allocating the appropriate<br />
amount of space. The break value is the address of the first location<br />
beyond the end of the data segment The amount of allocated space<br />
increases as the break value increases.<br />
Brk sets the break value to endds and changes the allocated space<br />
accordingly.<br />
Sbrk adds incr bytes to the break value and changes the allocated space<br />
accordingly. /ncr can be negative, in which case the amount of allocated<br />
space is decreased. Sbrk clears only the page actually allocated, starting<br />
at a page boundary.<br />
Brk and sbrk will fail without making any change in the allocated space<br />
if one or more of the following are true:<br />
Such a change would result in more space being allocated than<br />
is allowed by a system-imposed maximum (see ulimit (2)).<br />
[ENOMEM]<br />
Such a change would result in the break value being greater<br />
than the start address of any attached shared memory segment<br />
(see shmop(2)).<br />
RETURN VALUE<br />
Upon successful completion, brk returns a value of 0 and sbrk returns the<br />
old break value. Otherwise, a value of -1 is returned and errno is set to<br />
indicate the error.<br />
SEE ALSO<br />
exec(2).<br />
-1-