Lines Matching +full:segment +full:- +full:2 +full:a
9 .\" 2. Redistributions in binary form must reproduce the above copyright
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28 .Dd June 2, 2018
34 .Nd change data segment size
44 .Bf -symbolic
53 .Xr mmap 2
61 functions are used to change the amount of memory allocated in a
62 process's data segment.
66 uninitialized data segment (also known as the
81 bytes of new memory in the data segment.
89 While the actual process data segment size maintained by the kernel will only
92 page of the data segment).
100 .Xr getrlimit 2
103 data segment.
109 value is returned from a call to
116 .Rv -std brk
122 .Po Vt "void *" Pc Ns \-1
133 .Bl -tag -width Er
135 The requested break value was beyond the beginning of the data segment.
137 The data segment size limit, as set by
138 .Xr setrlimit 2 ,
142 to support the expansion of the data segment.
145 .Xr execve 2 ,
146 .Xr getrlimit 2 ,
147 .Xr mmap 2 ,
169 or similar functions will result in non-portable program behavior.
171 Setting the break may fail due to a temporary lack of
174 from a failure caused by exceeding the maximum size of
175 the data segment without consulting
176 .Xr getrlimit 2 .
181 .Xr mmap 2
187 are not thread-safe.