| 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:36+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 "process_vm_readv" |
| 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 |
"process_vm_readv, process_vm_writev - transfer data between process address " |
| 51 |
"spaces" |
| 52 |
msgstr "" |
| 53 |
|
| 54 |
#. type: SH |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
#, no-wrap |
| 58 |
msgid "LIBRARY" |
| 59 |
msgstr "" |
| 60 |
|
| 61 |
#. type: Plain text |
| 62 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 63 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 65 |
msgstr "" |
| 66 |
|
| 67 |
#. type: SH |
| 68 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 69 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 70 |
#, no-wrap |
| 71 |
msgid "SYNOPSIS" |
| 72 |
msgstr "" |
| 73 |
|
| 74 |
#. type: Plain text |
| 75 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 76 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
#, no-wrap |
| 78 |
msgid "B<#include E<lt>sys/uio.hE<gt>>\n" |
| 79 |
msgstr "" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "" |
| 86 |
"B<ssize_t process_vm_readv(pid_t >I<pid>B<,>\n" |
| 87 |
"B< const struct iovec *>I<local_iov>B<,>\n" |
| 88 |
"B< unsigned long >I<liovcnt>B<,>\n" |
| 89 |
"B< const struct iovec *>I<remote_iov>B<,>\n" |
| 90 |
"B< unsigned long >I<riovcnt>B<,>\n" |
| 91 |
"B< unsigned long >I<flags>B<);>\n" |
| 92 |
"B<ssize_t process_vm_writev(pid_t >I<pid>B<,>\n" |
| 93 |
"B< const struct iovec *>I<local_iov>B<,>\n" |
| 94 |
"B< unsigned long >I<liovcnt>B<,>\n" |
| 95 |
"B< const struct iovec *>I<remote_iov>B<,>\n" |
| 96 |
"B< unsigned long >I<riovcnt>B<,>\n" |
| 97 |
"B< unsigned long >I<flags>B<);>\n" |
| 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 "" |
| 104 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 105 |
msgstr "" |
| 106 |
|
| 107 |
#. type: Plain text |
| 108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 110 |
msgid "B<process_vm_readv>(), B<process_vm_writev>():" |
| 111 |
msgstr "" |
| 112 |
|
| 113 |
#. type: Plain text |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
#, no-wrap |
| 117 |
msgid " _GNU_SOURCE\n" |
| 118 |
msgstr "" |
| 119 |
|
| 120 |
#. type: SH |
| 121 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 122 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 123 |
#, no-wrap |
| 124 |
msgid "DESCRIPTION" |
| 125 |
msgstr "" |
| 126 |
|
| 127 |
#. type: Plain text |
| 128 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 129 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 130 |
msgid "" |
| 131 |
"These system calls transfer data between the address space of the calling " |
| 132 |
"process (\"the local process\") and the process identified by I<pid> (\"the " |
| 133 |
"remote process\"). The data moves directly between the address spaces of " |
| 134 |
"the two processes, without passing through kernel space." |
| 135 |
msgstr "" |
| 136 |
|
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 140 |
msgid "" |
| 141 |
"The B<process_vm_readv>() system call transfers data from the remote " |
| 142 |
"process to the local process. The data to be transferred is identified by " |
| 143 |
"I<remote_iov> and I<riovcnt>: I<remote_iov> is a pointer to an array " |
| 144 |
"describing address ranges in the process I<pid>, and I<riovcnt> specifies " |
| 145 |
"the number of elements in I<remote_iov>. The data is transferred to the " |
| 146 |
"locations specified by I<local_iov> and I<liovcnt>: I<local_iov> is a " |
| 147 |
"pointer to an array describing address ranges in the calling process, and " |
| 148 |
"I<liovcnt> specifies the number of elements in I<local_iov>." |
| 149 |
msgstr "" |
| 150 |
|
| 151 |
#. type: Plain text |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
msgid "" |
| 155 |
"The B<process_vm_writev>() system call is the converse of " |
| 156 |
"B<process_vm_readv>()\\[em]it transfers data from the local process to the " |
| 157 |
"remote process. Other than the direction of the transfer, the arguments " |
| 158 |
"I<liovcnt>, I<local_iov>, I<riovcnt>, and I<remote_iov> have the same " |
| 159 |
"meaning as for B<process_vm_readv>()." |
| 160 |
msgstr "" |
| 161 |
|
| 162 |
#. type: Plain text |
| 163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 165 |
msgid "" |
| 166 |
"The I<local_iov> and I<remote_iov> arguments point to an array of I<iovec> " |
| 167 |
"structures, described in B<iovec>(3type)." |
| 168 |
msgstr "" |
| 169 |
|
| 170 |
#. type: Plain text |
| 171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
msgid "" |
| 174 |
"Buffers are processed in array order. This means that " |
| 175 |
"B<process_vm_readv>() completely fills I<local_iov[0]> before proceeding to " |
| 176 |
"I<local_iov[1]>, and so on. Likewise, I<remote_iov[0]> is completely read " |
| 177 |
"before proceeding to I<remote_iov[1]>, and so on." |
| 178 |
msgstr "" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "" |
| 184 |
"Similarly, B<process_vm_writev>() writes out the entire contents of " |
| 185 |
"I<local_iov[0]> before proceeding to I<local_iov[1]>, and it completely " |
| 186 |
"fills I<remote_iov[0]> before proceeding to I<remote_iov[1]>." |
| 187 |
msgstr "" |
| 188 |
|
| 189 |
#. type: Plain text |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
msgid "" |
| 193 |
"The lengths of I<remote_iov[i].iov_len> and I<local_iov[i].iov_len> do not " |
| 194 |
"have to be the same. Thus, it is possible to split a single local buffer " |
| 195 |
"into multiple remote buffers, or vice versa." |
| 196 |
msgstr "" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
msgid "The I<flags> argument is currently unused and must be set to 0." |
| 202 |
msgstr "" |
| 203 |
|
| 204 |
#. In time, glibc might provide a wrapper that works around this limit, |
| 205 |
#. as is done for readv()/writev() |
| 206 |
#. type: Plain text |
| 207 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 208 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 209 |
msgid "" |
| 210 |
"The values specified in the I<liovcnt> and I<riovcnt> arguments must be less " |
| 211 |
"than or equal to B<IOV_MAX> (defined in I<E<lt>limits.hE<gt>> or accessible " |
| 212 |
"via the call I<sysconf(_SC_IOV_MAX)>)." |
| 213 |
msgstr "" |
| 214 |
|
| 215 |
#. type: Plain text |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
msgid "" |
| 219 |
"The count arguments and I<local_iov> are checked before doing any " |
| 220 |
"transfers. If the counts are too big, or I<local_iov> is invalid, or the " |
| 221 |
"addresses refer to regions that are inaccessible to the local process, none " |
| 222 |
"of the vectors will be processed and an error will be returned immediately." |
| 223 |
msgstr "" |
| 224 |
|
| 225 |
#. type: Plain text |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
msgid "" |
| 229 |
"Note, however, that these system calls do not check the memory regions in " |
| 230 |
"the remote process until just before doing the read/write. Consequently, a " |
| 231 |
"partial read/write (see RETURN VALUE) may result if one of the " |
| 232 |
"I<remote_iov> elements points to an invalid memory region in the remote " |
| 233 |
"process. No further reads/writes will be attempted beyond that point. Keep " |
| 234 |
"this in mind when attempting to read data of unknown length (such as C " |
| 235 |
"strings that are null-terminated) from a remote process, by avoiding " |
| 236 |
"spanning memory pages (typically 4\\ KiB) in a single remote I<iovec> " |
| 237 |
"element. (Instead, split the remote read into two I<remote_iov> elements " |
| 238 |
"and have them merge back into a single write I<local_iov> entry. The first " |
| 239 |
"read entry goes up to the page boundary, while the second starts on the next " |
| 240 |
"page boundary.)" |
| 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 |
"Permission to read from or write to another process is governed by a ptrace " |
| 248 |
"access mode B<PTRACE_MODE_ATTACH_REALCREDS> check; see B<ptrace>(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 "RETURN VALUE" |
| 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 |
"On success, B<process_vm_readv>() returns the number of bytes read and " |
| 263 |
"B<process_vm_writev>() returns the number of bytes written. This return " |
| 264 |
"value may be less than the total number of requested bytes, if a partial " |
| 265 |
"read/write occurred. (Partial transfers apply at the granularity of " |
| 266 |
"I<iovec> elements. These system calls won't perform a partial transfer that " |
| 267 |
"splits a single I<iovec> element.) The caller should check the return value " |
| 268 |
"to determine whether a partial read/write occurred." |
| 269 |
msgstr "" |
| 270 |
|
| 271 |
#. type: Plain text |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
msgid "On error, -1 is returned and I<errno> is set to indicate the error." |
| 275 |
msgstr "" |
| 276 |
|
| 277 |
#. type: SH |
| 278 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 279 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 280 |
#, no-wrap |
| 281 |
msgid "ERRORS" |
| 282 |
msgstr "" |
| 283 |
|
| 284 |
#. type: TP |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
#, no-wrap |
| 288 |
msgid "B<EFAULT>" |
| 289 |
msgstr "" |
| 290 |
|
| 291 |
#. type: Plain text |
| 292 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 293 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 294 |
msgid "" |
| 295 |
"The memory described by I<local_iov> is outside the caller's accessible " |
| 296 |
"address space." |
| 297 |
msgstr "" |
| 298 |
|
| 299 |
#. type: Plain text |
| 300 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 301 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 302 |
msgid "" |
| 303 |
"The memory described by I<remote_iov> is outside the accessible address " |
| 304 |
"space of the process I<pid>." |
| 305 |
msgstr "" |
| 306 |
|
| 307 |
#. type: TP |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "B<EINVAL>" |
| 312 |
msgstr "" |
| 313 |
|
| 314 |
#. type: Plain text |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
msgid "" |
| 318 |
"The sum of the I<iov_len> values of either I<local_iov> or I<remote_iov> " |
| 319 |
"overflows a I<ssize_t> value." |
| 320 |
msgstr "" |
| 321 |
|
| 322 |
#. type: Plain text |
| 323 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 324 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 325 |
msgid "I<flags> is not 0." |
| 326 |
msgstr "" |
| 327 |
|
| 328 |
#. type: Plain text |
| 329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 331 |
msgid "I<liovcnt> or I<riovcnt> is too large." |
| 332 |
msgstr "" |
| 333 |
|
| 334 |
#. type: TP |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
#, no-wrap |
| 338 |
msgid "B<ENOMEM>" |
| 339 |
msgstr "" |
| 340 |
|
| 341 |
#. type: Plain text |
| 342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 344 |
msgid "" |
| 345 |
"Could not allocate memory for internal copies of the I<iovec> structures." |
| 346 |
msgstr "" |
| 347 |
|
| 348 |
#. type: TP |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
#, no-wrap |
| 352 |
msgid "B<EPERM>" |
| 353 |
msgstr "" |
| 354 |
|
| 355 |
#. type: Plain text |
| 356 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 357 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 358 |
msgid "" |
| 359 |
"The caller does not have permission to access the address space of the " |
| 360 |
"process I<pid>." |
| 361 |
msgstr "" |
| 362 |
|
| 363 |
#. type: TP |
| 364 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 365 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 366 |
#, no-wrap |
| 367 |
msgid "B<ESRCH>" |
| 368 |
msgstr "" |
| 369 |
|
| 370 |
#. type: Plain text |
| 371 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 372 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 373 |
msgid "No process with ID I<pid> exists." |
| 374 |
msgstr "" |
| 375 |
|
| 376 |
#. type: SH |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
#, no-wrap |
| 380 |
msgid "STANDARDS" |
| 381 |
msgstr "" |
| 382 |
|
| 383 |
#. type: Plain text |
| 384 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 385 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 386 |
msgid "Linux." |
| 387 |
msgstr "" |
| 388 |
|
| 389 |
#. type: SH |
| 390 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 391 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 392 |
#, no-wrap |
| 393 |
msgid "HISTORY" |
| 394 |
msgstr "" |
| 395 |
|
| 396 |
#. type: Plain text |
| 397 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 398 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 399 |
msgid "Linux 3.2, glibc 2.15." |
| 400 |
msgstr "" |
| 401 |
|
| 402 |
#. type: SH |
| 403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 405 |
#, no-wrap |
| 406 |
msgid "NOTES" |
| 407 |
msgstr "" |
| 408 |
|
| 409 |
#. type: Plain text |
| 410 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 411 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 412 |
msgid "" |
| 413 |
"The data transfers performed by B<process_vm_readv>() and " |
| 414 |
"B<process_vm_writev>() are not guaranteed to be atomic in any way." |
| 415 |
msgstr "" |
| 416 |
|
| 417 |
#. Original user is MPI, http://www.mcs.anl.gov/research/projects/mpi/ |
| 418 |
#. See also some benchmarks at http://lwn.net/Articles/405284/ |
| 419 |
#. and http://marc.info/?l=linux-mm&m=130105930902915&w=2 |
| 420 |
#. type: Plain text |
| 421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
msgid "" |
| 424 |
"These system calls were designed to permit fast message passing by allowing " |
| 425 |
"messages to be exchanged with a single copy operation (rather than the " |
| 426 |
"double copy that would be required when using, for example, shared memory or " |
| 427 |
"pipes)." |
| 428 |
msgstr "" |
| 429 |
|
| 430 |
#. type: SH |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
#, no-wrap |
| 434 |
msgid "EXAMPLES" |
| 435 |
msgstr "" |
| 436 |
|
| 437 |
#. type: Plain text |
| 438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 440 |
msgid "" |
| 441 |
"The following code sample demonstrates the use of B<process_vm_readv>(). It " |
| 442 |
"reads 20 bytes at the address 0x10000 from the process with PID 10 and " |
| 443 |
"writes the first 10 bytes into I<buf1> and the second 10 bytes into I<buf2>." |
| 444 |
msgstr "" |
| 445 |
|
| 446 |
#. type: Plain text |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
#, no-wrap |
| 450 |
msgid "" |
| 451 |
"#define _GNU_SOURCE\n" |
| 452 |
"#include E<lt>stdlib.hE<gt>\n" |
| 453 |
"#include E<lt>sys/types.hE<gt>\n" |
| 454 |
"#include E<lt>sys/uio.hE<gt>\n" |
| 455 |
"\\&\n" |
| 456 |
"int\n" |
| 457 |
"main(void)\n" |
| 458 |
"{\n" |
| 459 |
" char buf1[10];\n" |
| 460 |
" char buf2[10];\n" |
| 461 |
" pid_t pid = 10; /* PID of remote process */\n" |
| 462 |
" ssize_t nread;\n" |
| 463 |
" struct iovec local[2];\n" |
| 464 |
" struct iovec remote[1];\n" |
| 465 |
"\\&\n" |
| 466 |
" local[0].iov_base = buf1;\n" |
| 467 |
" local[0].iov_len = 10;\n" |
| 468 |
" local[1].iov_base = buf2;\n" |
| 469 |
" local[1].iov_len = 10;\n" |
| 470 |
" remote[0].iov_base = (void *) 0x10000;\n" |
| 471 |
" remote[0].iov_len = 20;\n" |
| 472 |
"\\&\n" |
| 473 |
" nread = process_vm_readv(pid, local, 2, remote, 1, 0);\n" |
| 474 |
" if (nread != 20)\n" |
| 475 |
" exit(EXIT_FAILURE);\n" |
| 476 |
"\\&\n" |
| 477 |
" exit(EXIT_SUCCESS);\n" |
| 478 |
"}\n" |
| 479 |
msgstr "" |
| 480 |
|
| 481 |
#. SRC END |
| 482 |
#. type: SH |
| 483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 485 |
#, no-wrap |
| 486 |
msgid "SEE ALSO" |
| 487 |
msgstr "" |
| 488 |
|
| 489 |
#. type: Plain text |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
msgid "B<readv>(2), B<writev>(2)" |
| 493 |
msgstr "" |
| 494 |
|
| 495 |
#. type: TH |
| 496 |
#: debian-trixie |
| 497 |
#, no-wrap |
| 498 |
msgid "2024-05-02" |
| 499 |
msgstr "" |
| 500 |
|
| 501 |
#. type: TH |
| 502 |
#: debian-trixie |
| 503 |
#, no-wrap |
| 504 |
msgid "Linux man-pages 6.9.1" |
| 505 |
msgstr "" |
| 506 |
|
| 507 |
#. type: Plain text |
| 508 |
#: debian-trixie |
| 509 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 510 |
msgstr "" |
| 511 |
|
| 512 |
#. type: TH |
| 513 |
#: fedora-44 fedora-rawhide |
| 514 |
#, no-wrap |
| 515 |
msgid "2024-07-23" |
| 516 |
msgstr "" |
| 517 |
|
| 518 |
#. type: TH |
| 519 |
#: fedora-44 fedora-rawhide |
| 520 |
#, no-wrap |
| 521 |
msgid "Linux man-pages 6.13" |
| 522 |
msgstr "" |
| 523 |
|
| 524 |
#. type: TH |
| 525 |
#: mageia-cauldron |
| 526 |
#, no-wrap |
| 527 |
msgid "Linux man-pages 6.17" |
| 528 |
msgstr "" |
| 529 |
|
| 530 |
#. type: TH |
| 531 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 532 |
#, no-wrap |
| 533 |
msgid "Linux man-pages (unreleased)" |
| 534 |
msgstr "" |