| 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:35+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 "pread" |
| 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 "" |
| 50 |
"pread, pwrite - read from or write to a file descriptor at a given offset" |
| 51 |
msgstr "" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "B<#include E<lt>unistd.hE<gt>>\n" |
| 78 |
msgstr "" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 82 |
#: opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "" |
| 85 |
"B<ssize_t pread(>size_t count;\n" |
| 86 |
"B< int >I<fd>B<, void >I<buf>B<[>I<count>B<], size_t >I<count>B<,>\n" |
| 87 |
"B< off_t >I<offset>B<);>\n" |
| 88 |
"B<ssize_t pwrite(>size_t count;\n" |
| 89 |
"B< int >I<fd>B<, const void >I<buf>B<[>I<count>B<], size_t >I<count>B<,>\n" |
| 90 |
"B< off_t >I<offset>B<);>\n" |
| 91 |
msgstr "" |
| 92 |
|
| 93 |
#. type: Plain text |
| 94 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 95 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 96 |
msgid "" |
| 97 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 98 |
msgstr "" |
| 99 |
|
| 100 |
#. type: Plain text |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
msgid "B<pread>(), B<pwrite>():" |
| 104 |
msgstr "" |
| 105 |
|
| 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 |
" _XOPEN_SOURCE E<gt>= 500\n" |
| 112 |
" || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 113 |
msgstr "" |
| 114 |
|
| 115 |
#. type: SH |
| 116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 118 |
#, no-wrap |
| 119 |
msgid "DESCRIPTION" |
| 120 |
msgstr "" |
| 121 |
|
| 122 |
#. type: Plain text |
| 123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
msgid "" |
| 126 |
"B<pread>() reads up to I<count> bytes from file descriptor I<fd> at offset " |
| 127 |
"I<offset> (from the start of the file) into the buffer starting at I<buf>. " |
| 128 |
"The file offset is not changed." |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "" |
| 135 |
"B<pwrite>() writes up to I<count> bytes from the buffer starting at I<buf> " |
| 136 |
"to the file descriptor I<fd> at offset I<offset>. The file offset is not " |
| 137 |
"changed." |
| 138 |
msgstr "" |
| 139 |
|
| 140 |
#. type: Plain text |
| 141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 143 |
msgid "The file referenced by I<fd> must be capable of seeking." |
| 144 |
msgstr "" |
| 145 |
|
| 146 |
#. type: SH |
| 147 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 148 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 149 |
#, no-wrap |
| 150 |
msgid "RETURN VALUE" |
| 151 |
msgstr "" |
| 152 |
|
| 153 |
#. type: Plain text |
| 154 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 155 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 156 |
msgid "" |
| 157 |
"On success, B<pread>() returns the number of bytes read (a return of zero " |
| 158 |
"indicates end of file) and B<pwrite>() returns the number of bytes written." |
| 159 |
msgstr "" |
| 160 |
|
| 161 |
#. type: Plain text |
| 162 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 163 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 164 |
msgid "" |
| 165 |
"Note that it is not an error for a successful call to transfer fewer bytes " |
| 166 |
"than requested (see B<read>(2) and B<write>(2))." |
| 167 |
msgstr "" |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
msgid "On error, -1 is returned and I<errno> is set to indicate the error." |
| 173 |
msgstr "" |
| 174 |
|
| 175 |
#. type: SH |
| 176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 178 |
#, no-wrap |
| 179 |
msgid "ERRORS" |
| 180 |
msgstr "" |
| 181 |
|
| 182 |
#. type: Plain text |
| 183 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 184 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 185 |
msgid "" |
| 186 |
"B<pread>() can fail and set I<errno> to any error specified for B<read>(2) " |
| 187 |
"or B<lseek>(2). B<pwrite>() can fail and set I<errno> to any error " |
| 188 |
"specified for B<write>(2) or B<lseek>(2)." |
| 189 |
msgstr "" |
| 190 |
|
| 191 |
#. type: SH |
| 192 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 193 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 194 |
#, no-wrap |
| 195 |
msgid "STANDARDS" |
| 196 |
msgstr "" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 200 |
#: opensuse-tumbleweed |
| 201 |
msgid "POSIX.1-2024." |
| 202 |
msgstr "" |
| 203 |
|
| 204 |
#. type: SH |
| 205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 207 |
#, no-wrap |
| 208 |
msgid "HISTORY" |
| 209 |
msgstr "" |
| 210 |
|
| 211 |
#. type: Plain text |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
msgid "POSIX.1-2001." |
| 215 |
msgstr "" |
| 216 |
|
| 217 |
#. type: Plain text |
| 218 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 219 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 220 |
msgid "" |
| 221 |
"Added in Linux 2.1.60; the entries in the i386 system call table were added " |
| 222 |
"in Linux 2.1.69. C library support (including emulation using B<lseek>(2) " |
| 223 |
"on older kernels without the system calls) was added in glibc 2.1." |
| 224 |
msgstr "" |
| 225 |
|
| 226 |
#. type: SS |
| 227 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 228 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 229 |
#, no-wrap |
| 230 |
msgid "C library/kernel differences" |
| 231 |
msgstr "" |
| 232 |
|
| 233 |
#. type: Plain text |
| 234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 236 |
msgid "" |
| 237 |
"On Linux, the underlying system calls were renamed in Linux 2.6: B<pread>() " |
| 238 |
"became B<pread64>(), and B<pwrite>() became B<pwrite64>(). The system call " |
| 239 |
"numbers remained the same. The glibc B<pread>() and B<pwrite>() wrapper " |
| 240 |
"functions transparently deal with the change." |
| 241 |
msgstr "" |
| 242 |
|
| 243 |
#. type: Plain text |
| 244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 246 |
msgid "" |
| 247 |
"On some 32-bit architectures, the calling signature for these system calls " |
| 248 |
"differ, for the reasons described in B<syscall>(2)." |
| 249 |
msgstr "" |
| 250 |
|
| 251 |
#. type: SH |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
#, no-wrap |
| 255 |
msgid "NOTES" |
| 256 |
msgstr "" |
| 257 |
|
| 258 |
#. type: Plain text |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
msgid "" |
| 262 |
"The B<pread>() and B<pwrite>() system calls are especially useful in " |
| 263 |
"multithreaded applications. They allow multiple threads to perform I/O on " |
| 264 |
"the same file descriptor without being affected by changes to the file " |
| 265 |
"offset by other threads." |
| 266 |
msgstr "" |
| 267 |
|
| 268 |
#. type: SH |
| 269 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 270 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 271 |
#, no-wrap |
| 272 |
msgid "BUGS" |
| 273 |
msgstr "" |
| 274 |
|
| 275 |
#. FIXME . https://bugzilla.kernel.org/show_bug.cgi?id=43178 |
| 276 |
#. type: Plain text |
| 277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 279 |
msgid "" |
| 280 |
"POSIX requires that opening a file with the B<O_APPEND> flag should have no " |
| 281 |
"effect on the location at which B<pwrite>() writes data. However, on " |
| 282 |
"Linux, if a file is opened with B<O_APPEND>, B<pwrite>() appends data to " |
| 283 |
"the end of the file, regardless of the value of I<offset>." |
| 284 |
msgstr "" |
| 285 |
|
| 286 |
#. type: SH |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
#, no-wrap |
| 290 |
msgid "SEE ALSO" |
| 291 |
msgstr "" |
| 292 |
|
| 293 |
#. type: Plain text |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
msgid "B<lseek>(2), B<read>(2), B<readv>(2), B<write>(2)" |
| 297 |
msgstr "" |
| 298 |
|
| 299 |
#. type: TH |
| 300 |
#: debian-trixie |
| 301 |
#, no-wrap |
| 302 |
msgid "2024-05-02" |
| 303 |
msgstr "" |
| 304 |
|
| 305 |
#. type: TH |
| 306 |
#: debian-trixie |
| 307 |
#, no-wrap |
| 308 |
msgid "Linux man-pages 6.9.1" |
| 309 |
msgstr "" |
| 310 |
|
| 311 |
#. type: Plain text |
| 312 |
#: debian-trixie |
| 313 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#. type: Plain text |
| 317 |
#: debian-trixie fedora-44 fedora-rawhide |
| 318 |
#, no-wrap |
| 319 |
msgid "" |
| 320 |
"B<ssize_t pread(int >I<fd>B<, void >I<buf>B<[.>I<count>B<], size_t >I<count>B<,>\n" |
| 321 |
"B< off_t >I<offset>B<);>\n" |
| 322 |
"B<ssize_t pwrite(int >I<fd>B<, const void >I<buf>B<[.>I<count>B<], size_t >I<count>B<,>\n" |
| 323 |
"B< off_t >I<offset>B<);>\n" |
| 324 |
msgstr "" |
| 325 |
|
| 326 |
#. type: Plain text |
| 327 |
#: debian-trixie fedora-44 fedora-rawhide |
| 328 |
msgid "POSIX.1-2008." |
| 329 |
msgstr "" |
| 330 |
|
| 331 |
#. type: TH |
| 332 |
#: fedora-44 fedora-rawhide |
| 333 |
#, no-wrap |
| 334 |
msgid "2024-07-23" |
| 335 |
msgstr "" |
| 336 |
|
| 337 |
#. type: TH |
| 338 |
#: fedora-44 fedora-rawhide |
| 339 |
#, no-wrap |
| 340 |
msgid "Linux man-pages 6.13" |
| 341 |
msgstr "" |
| 342 |
|
| 343 |
#. type: TH |
| 344 |
#: mageia-cauldron |
| 345 |
#, no-wrap |
| 346 |
msgid "Linux man-pages 6.17" |
| 347 |
msgstr "" |
| 348 |
|
| 349 |
#. type: TH |
| 350 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
#, no-wrap |
| 352 |
msgid "Linux man-pages (unreleased)" |
| 353 |
msgstr "" |