Debian Codegraph @

templates/man2/brk.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:19+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "brk"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "brk, sbrk - change data segment size"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>unistd.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<int brk(void *>I<addr>B<);>\n"
85 "B<void *sbrk(intptr_t >I<increment>B<);>\n"
86 msgstr ""
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 msgid ""
92 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 msgid "B<brk>(), B<sbrk>():"
99 msgstr ""
100
101 #. (_XOPEN_SOURCE >= 500 ||
102 #. _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) &&
103 #. (_XOPEN_SOURCE >= 500 ||
104 #. _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) &&
105 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid ""
111 " Since glibc 2.19:\n"
112 " _DEFAULT_SOURCE\n"
113 " || ((_XOPEN_SOURCE E<gt>= 500) &&\n"
114 " ! (_POSIX_C_SOURCE E<gt>= 200112L))\n"
115 " From glibc 2.12 to glibc 2.19:\n"
116 " _BSD_SOURCE || _SVID_SOURCE\n"
117 " || ((_XOPEN_SOURCE E<gt>= 500) &&\n"
118 " ! (_POSIX_C_SOURCE E<gt>= 200112L))\n"
119 " Before glibc 2.12:\n"
120 " _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE E<gt>= 500\n"
121 msgstr ""
122
123 #. type: SH
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid "DESCRIPTION"
128 msgstr ""
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "B<brk>() and B<sbrk>() change the location of the I<program break>, which "
135 "defines the end of the process's data segment (i.e., the program break is "
136 "the first location after the end of the uninitialized data segment). "
137 "Increasing the program break has the effect of allocating memory to the "
138 "process; decreasing the break deallocates memory."
139 msgstr ""
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 msgid ""
145 "B<brk>() sets the end of the data segment to the value specified by "
146 "I<addr>, when that value is reasonable, the system has enough memory, and "
147 "the process does not exceed its maximum data size (see B<setrlimit>(2))."
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid ""
154 "B<sbrk>() increments the program's data space by I<increment> bytes. "
155 "Calling B<sbrk>() with an I<increment> of 0 can be used to find the current "
156 "location of the program break."
157 msgstr ""
158
159 #. type: SH
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid "RETURN VALUE"
164 msgstr ""
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid ""
170 "On success, B<brk>() returns zero. On error, -1 is returned, and I<errno> "
171 "is set to B<ENOMEM>."
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "On success, B<sbrk>() returns the previous program break. (If the break "
179 "was increased, then this value is a pointer to the start of the newly "
180 "allocated memory). On error, I<(void\\ *)\\ -1> is returned, and I<errno> "
181 "is set to B<ENOMEM>."
182 msgstr ""
183
184 #. type: SH
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 #, no-wrap
188 msgid "STANDARDS"
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid "None."
195 msgstr ""
196
197 #. type: SH
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 #, no-wrap
201 msgid "HISTORY"
202 msgstr ""
203
204 #
205 #. .BR brk ()
206 #. and
207 #. .BR sbrk ()
208 #. are not defined in the C Standard and are deliberately excluded from the
209 #. POSIX.1-1990 standard (see paragraphs B.1.1.1.3 and B.8.3.3).
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 msgid "4.3BSD; SUSv1, marked LEGACY in SUSv2, removed in POSIX.1-2001."
214 msgstr ""
215
216 #. type: SH
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, no-wrap
220 msgid "NOTES"
221 msgstr ""
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "Avoid using B<brk>() and B<sbrk>(): the B<malloc>(3) memory allocation "
228 "package is the portable and comfortable way of allocating memory."
229 msgstr ""
230
231 #. #-#-#-#-# archlinux: brk.2.pot (PACKAGE VERSION) #-#-#-#-#
232 #. One sees
233 #. \f[I]int\f[] (e.g., XPGv4, DU 4.0, HP-UX 11, FreeBSD 4.0, OpenBSD 3.2),
234 #. \f[I]ssize_t\f[] (OSF1 2.0, Irix 5.3, 6.5),
235 #. \f[I]ptrdiff_t\f[] (libc4, libc5, ulibc, glibc 2.0, 2.1),
236 #. \f[I]intptr_t\f[] (e.g., XPGv5, AIX, SunOS 5.8, 5.9, FreeBSD 4.7, NetBSD 1.6,
237 #. Tru64 5.1, glibc2.2).
238 #. type: Plain text
239 #. #-#-#-#-# debian-trixie: brk.2.pot (PACKAGE VERSION) #-#-#-#-#
240 #. One sees
241 #. \fIint\fP (e.g., XPGv4, DU 4.0, HP-UX 11, FreeBSD 4.0, OpenBSD 3.2),
242 #. \fIssize_t\fP (OSF1 2.0, Irix 5.3, 6.5),
243 #. \fIptrdiff_t\fP (libc4, libc5, ulibc, glibc 2.0, 2.1),
244 #. \fIintptr_t\fP (e.g., XPGv5, AIX, SunOS 5.8, 5.9, FreeBSD 4.7, NetBSD 1.6,
245 #. Tru64 5.1, glibc2.2).
246 #. type: Plain text
247 #. #-#-#-#-# debian-unstable: brk.2.pot (PACKAGE VERSION) #-#-#-#-#
248 #. One sees
249 #. \f[I]int\f[] (e.g., XPGv4, DU 4.0, HP-UX 11, FreeBSD 4.0, OpenBSD 3.2),
250 #. \f[I]ssize_t\f[] (OSF1 2.0, Irix 5.3, 6.5),
251 #. \f[I]ptrdiff_t\f[] (libc4, libc5, ulibc, glibc 2.0, 2.1),
252 #. \f[I]intptr_t\f[] (e.g., XPGv5, AIX, SunOS 5.8, 5.9, FreeBSD 4.7, NetBSD 1.6,
253 #. Tru64 5.1, glibc2.2).
254 #. type: Plain text
255 #. #-#-#-#-# fedora-44: brk.2.pot (PACKAGE VERSION) #-#-#-#-#
256 #. One sees
257 #. \fIint\fP (e.g., XPGv4, DU 4.0, HP-UX 11, FreeBSD 4.0, OpenBSD 3.2),
258 #. \fIssize_t\fP (OSF1 2.0, Irix 5.3, 6.5),
259 #. \fIptrdiff_t\fP (libc4, libc5, ulibc, glibc 2.0, 2.1),
260 #. \fIintptr_t\fP (e.g., XPGv5, AIX, SunOS 5.8, 5.9, FreeBSD 4.7, NetBSD 1.6,
261 #. Tru64 5.1, glibc2.2).
262 #. type: Plain text
263 #. #-#-#-#-# fedora-rawhide: brk.2.pot (PACKAGE VERSION) #-#-#-#-#
264 #. One sees
265 #. \fIint\fP (e.g., XPGv4, DU 4.0, HP-UX 11, FreeBSD 4.0, OpenBSD 3.2),
266 #. \fIssize_t\fP (OSF1 2.0, Irix 5.3, 6.5),
267 #. \fIptrdiff_t\fP (libc4, libc5, ulibc, glibc 2.0, 2.1),
268 #. \fIintptr_t\fP (e.g., XPGv5, AIX, SunOS 5.8, 5.9, FreeBSD 4.7, NetBSD 1.6,
269 #. Tru64 5.1, glibc2.2).
270 #. type: Plain text
271 #. #-#-#-#-# mageia-cauldron: brk.2.pot (PACKAGE VERSION) #-#-#-#-#
272 #. One sees
273 #. \f[I]int\f[] (e.g., XPGv4, DU 4.0, HP-UX 11, FreeBSD 4.0, OpenBSD 3.2),
274 #. \f[I]ssize_t\f[] (OSF1 2.0, Irix 5.3, 6.5),
275 #. \f[I]ptrdiff_t\f[] (libc4, libc5, ulibc, glibc 2.0, 2.1),
276 #. \f[I]intptr_t\f[] (e.g., XPGv5, AIX, SunOS 5.8, 5.9, FreeBSD 4.7, NetBSD 1.6,
277 #. Tru64 5.1, glibc2.2).
278 #. type: Plain text
279 #. #-#-#-#-# opensuse-leap-16-1: brk.2.pot (PACKAGE VERSION) #-#-#-#-#
280 #. One sees
281 #. \f[I]int\f[] (e.g., XPGv4, DU 4.0, HP-UX 11, FreeBSD 4.0, OpenBSD 3.2),
282 #. \f[I]ssize_t\f[] (OSF1 2.0, Irix 5.3, 6.5),
283 #. \f[I]ptrdiff_t\f[] (libc4, libc5, ulibc, glibc 2.0, 2.1),
284 #. \f[I]intptr_t\f[] (e.g., XPGv5, AIX, SunOS 5.8, 5.9, FreeBSD 4.7, NetBSD 1.6,
285 #. Tru64 5.1, glibc2.2).
286 #. type: Plain text
287 #. #-#-#-#-# opensuse-tumbleweed: brk.2.pot (PACKAGE VERSION) #-#-#-#-#
288 #. One sees
289 #. \f[I]int\f[] (e.g., XPGv4, DU 4.0, HP-UX 11, FreeBSD 4.0, OpenBSD 3.2),
290 #. \f[I]ssize_t\f[] (OSF1 2.0, Irix 5.3, 6.5),
291 #. \f[I]ptrdiff_t\f[] (libc4, libc5, ulibc, glibc 2.0, 2.1),
292 #. \f[I]intptr_t\f[] (e.g., XPGv5, AIX, SunOS 5.8, 5.9, FreeBSD 4.7, NetBSD 1.6,
293 #. Tru64 5.1, glibc2.2).
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid ""
298 "Various systems use various types for the argument of B<sbrk>(). Common are "
299 "I<int>, I<ssize_t>, I<ptrdiff_t>, I<intptr_t>."
300 msgstr ""
301
302 #. type: SS
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "C library/kernel differences"
307 msgstr ""
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid ""
313 "The return value described above for B<brk>() is the behavior provided by "
314 "the glibc wrapper function for the Linux B<brk>() system call. (On most "
315 "other implementations, the return value from B<brk>() is the same; this "
316 "return value was also specified in SUSv2.) However, the actual Linux system "
317 "call returns the new program break on success. On failure, the system call "
318 "returns the current break. The glibc wrapper function does some work (i.e., "
319 "checks whether the new break is less than I<addr>) to provide the 0 and -1 "
320 "return values described above."
321 msgstr ""
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 msgid ""
327 "On Linux, B<sbrk>() is implemented as a library function that uses the "
328 "B<brk>() system call, and does some internal bookkeeping so that it can "
329 "return the old break value."
330 msgstr ""
331
332 #. type: SH
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "SEE ALSO"
337 msgstr ""
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 msgid "B<execve>(2), B<getrlimit>(2), B<end>(3), B<malloc>(3)"
343 msgstr ""
344
345 #. type: TH
346 #: debian-trixie
347 #, no-wrap
348 msgid "2024-05-02"
349 msgstr ""
350
351 #. type: TH
352 #: debian-trixie
353 #, no-wrap
354 msgid "Linux man-pages 6.9.1"
355 msgstr ""
356
357 #. type: Plain text
358 #: debian-trixie
359 msgid "Standard C library (I<libc>, I<-lc>)"
360 msgstr ""
361
362 #. type: TH
363 #: fedora-44 fedora-rawhide
364 #, no-wrap
365 msgid "2024-07-23"
366 msgstr ""
367
368 #. type: TH
369 #: fedora-44 fedora-rawhide
370 #, no-wrap
371 msgid "Linux man-pages 6.13"
372 msgstr ""
373
374 #. type: TH
375 #: mageia-cauldron
376 #, no-wrap
377 msgid "Linux man-pages 6.17"
378 msgstr ""
379
380 #. type: TH
381 #: opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "Linux man-pages (unreleased)"
384 msgstr ""