| 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:43+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 "shmctl" |
| 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 "shmctl - System V shared memory control" |
| 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>sys/shm.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 "B<int shmctl(int >I<shmid>B<, int >I<op>B<, struct shmid_ds *>I<buf>B<);>\n" |
| 84 |
msgstr "" |
| 85 |
|
| 86 |
#. type: SH |
| 87 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 88 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
#, no-wrap |
| 90 |
msgid "DESCRIPTION" |
| 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 |
"B<shmctl>() performs the control operation specified by I<op> on the " |
| 98 |
"System\\ V shared memory segment whose identifier is given in I<shmid>." |
| 99 |
msgstr "" |
| 100 |
|
| 101 |
#. type: Plain text |
| 102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 104 |
msgid "" |
| 105 |
"The I<buf> argument is a pointer to a I<shmid_ds> structure, defined in " |
| 106 |
"I<E<lt>sys/shm.hE<gt>> as follows:" |
| 107 |
msgstr "" |
| 108 |
|
| 109 |
#. type: Plain text |
| 110 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 111 |
#: opensuse-tumbleweed |
| 112 |
#, no-wrap |
| 113 |
msgid "" |
| 114 |
"struct shmid_ds {\n" |
| 115 |
" struct ipc_perm shm_perm; /* Ownership and permissions */\n" |
| 116 |
" size_t shm_segsz; /* Size of segment (bytes) */\n" |
| 117 |
" time_t shm_atime; /* Last attach time */\n" |
| 118 |
" time_t shm_dtime; /* Last detach time */\n" |
| 119 |
" time_t shm_ctime; /* Creation time/time of last\n" |
| 120 |
" modification via shmctl() */\n" |
| 121 |
" pid_t shm_cpid; /* PID of creator */\n" |
| 122 |
" pid_t shm_lpid; /* PID of last shmat(2)/shmdt(2) */\n" |
| 123 |
" shmatt_t shm_nattch; /* # of current attaches */\n" |
| 124 |
" ...\n" |
| 125 |
"};\n" |
| 126 |
msgstr "" |
| 127 |
|
| 128 |
#. type: Plain text |
| 129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
msgid "The fields of the I<shmid_ds> structure are as follows:" |
| 132 |
msgstr "" |
| 133 |
|
| 134 |
#. type: TP |
| 135 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 136 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 137 |
#, no-wrap |
| 138 |
msgid "I<shm_perm>" |
| 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 |
"This is an I<ipc_perm> structure (see below) that specifies the access " |
| 146 |
"permissions on the shared memory segment." |
| 147 |
msgstr "" |
| 148 |
|
| 149 |
#. type: TP |
| 150 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 151 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 152 |
#, no-wrap |
| 153 |
msgid "I<shm_segsz>" |
| 154 |
msgstr "" |
| 155 |
|
| 156 |
#. type: Plain text |
| 157 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 158 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 159 |
msgid "Size in bytes of the shared memory segment." |
| 160 |
msgstr "" |
| 161 |
|
| 162 |
#. type: TP |
| 163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 165 |
#, no-wrap |
| 166 |
msgid "I<shm_atime>" |
| 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 "Time of the last B<shmat>(2) system call that attached this segment." |
| 173 |
msgstr "" |
| 174 |
|
| 175 |
#. type: TP |
| 176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 178 |
#, no-wrap |
| 179 |
msgid "I<shm_dtime>" |
| 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 "Time of the last B<shmdt>(2) system call that detached tgis segment." |
| 186 |
msgstr "" |
| 187 |
|
| 188 |
#. type: TP |
| 189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 191 |
#, no-wrap |
| 192 |
msgid "I<shm_ctime>" |
| 193 |
msgstr "" |
| 194 |
|
| 195 |
#. type: Plain text |
| 196 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 197 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 198 |
msgid "" |
| 199 |
"Time of creation of segment or time of the last B<shmctl>() B<IPC_SET> " |
| 200 |
"operation." |
| 201 |
msgstr "" |
| 202 |
|
| 203 |
#. type: TP |
| 204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
#, no-wrap |
| 207 |
msgid "I<shm_cpid>" |
| 208 |
msgstr "" |
| 209 |
|
| 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 "ID of the process that created the shared memory segment." |
| 214 |
msgstr "" |
| 215 |
|
| 216 |
#. type: TP |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
#, no-wrap |
| 220 |
msgid "I<shm_lpid>" |
| 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 |
"ID of the last process that executed a B<shmat>(2) or B<shmdt>(2) system " |
| 228 |
"call on this segment." |
| 229 |
msgstr "" |
| 230 |
|
| 231 |
#. type: TP |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
#, no-wrap |
| 235 |
msgid "I<shm_nattch>" |
| 236 |
msgstr "" |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
msgid "Number of processes that have this segment attached." |
| 242 |
msgstr "" |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
msgid "" |
| 248 |
"The I<ipc_perm> structure is defined as follows (the highlighted fields are " |
| 249 |
"settable using B<IPC_SET>):" |
| 250 |
msgstr "" |
| 251 |
|
| 252 |
#. type: Plain text |
| 253 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 254 |
#: opensuse-tumbleweed |
| 255 |
#, no-wrap |
| 256 |
msgid "" |
| 257 |
"struct ipc_perm {\n" |
| 258 |
" key_t __key; /* Key supplied to shmget(2) */\n" |
| 259 |
" uid_t \\f[B]uid\\fR; /* Effective UID of owner */\n" |
| 260 |
" gid_t \\f[B]gid\\fR; /* Effective GID of owner */\n" |
| 261 |
" uid_t cuid; /* Effective UID of creator */\n" |
| 262 |
" gid_t cgid; /* Effective GID of creator */\n" |
| 263 |
" unsigned short \\f[B]mode\\fR; /* \\f[B]Permissions\\fR + SHM_DEST and\n" |
| 264 |
" SHM_LOCKED flags */\n" |
| 265 |
" unsigned short __seq; /* Sequence number */\n" |
| 266 |
"};\n" |
| 267 |
msgstr "" |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 272 |
msgid "" |
| 273 |
"The least significant 9 bits of the I<mode> field of the I<ipc_perm> " |
| 274 |
"structure define the access permissions for the shared memory segment. The " |
| 275 |
"permission bits are as follows:" |
| 276 |
msgstr "" |
| 277 |
|
| 278 |
#. type: tbl table |
| 279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 281 |
#, no-wrap |
| 282 |
msgid "0400" |
| 283 |
msgstr "" |
| 284 |
|
| 285 |
#. type: tbl table |
| 286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 288 |
#, no-wrap |
| 289 |
msgid "Read by user" |
| 290 |
msgstr "" |
| 291 |
|
| 292 |
#. type: tbl table |
| 293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 295 |
#, no-wrap |
| 296 |
msgid "0200" |
| 297 |
msgstr "" |
| 298 |
|
| 299 |
#. type: tbl table |
| 300 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 301 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 302 |
#, no-wrap |
| 303 |
msgid "Write by user" |
| 304 |
msgstr "" |
| 305 |
|
| 306 |
#. type: tbl table |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
#, no-wrap |
| 310 |
msgid "0040" |
| 311 |
msgstr "" |
| 312 |
|
| 313 |
#. type: tbl table |
| 314 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 315 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 316 |
#, no-wrap |
| 317 |
msgid "Read by group" |
| 318 |
msgstr "" |
| 319 |
|
| 320 |
#. type: tbl table |
| 321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 323 |
#, no-wrap |
| 324 |
msgid "0020" |
| 325 |
msgstr "" |
| 326 |
|
| 327 |
#. type: tbl table |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
#, no-wrap |
| 331 |
msgid "Write by group" |
| 332 |
msgstr "" |
| 333 |
|
| 334 |
#. type: tbl table |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
#, no-wrap |
| 338 |
msgid "0004" |
| 339 |
msgstr "" |
| 340 |
|
| 341 |
#. type: tbl table |
| 342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 344 |
#, no-wrap |
| 345 |
msgid "Read by others" |
| 346 |
msgstr "" |
| 347 |
|
| 348 |
#. type: tbl table |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
#, no-wrap |
| 352 |
msgid "0002" |
| 353 |
msgstr "" |
| 354 |
|
| 355 |
#. type: tbl table |
| 356 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 357 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 358 |
#, no-wrap |
| 359 |
msgid "Write by others" |
| 360 |
msgstr "" |
| 361 |
|
| 362 |
#. type: Plain text |
| 363 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 364 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 365 |
msgid "" |
| 366 |
"Bits 0100, 0010, and 0001 (the execute bits) are unused by the system. (It " |
| 367 |
"is not necessary to have execute permission on a segment in order to perform " |
| 368 |
"a B<shmat>(2) call with the B<SHM_EXEC> flag.)" |
| 369 |
msgstr "" |
| 370 |
|
| 371 |
#. type: Plain text |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
msgid "Valid values for I<op> are:" |
| 375 |
msgstr "" |
| 376 |
|
| 377 |
#. type: TP |
| 378 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 379 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 380 |
#, no-wrap |
| 381 |
msgid "B<IPC_STAT>" |
| 382 |
msgstr "" |
| 383 |
|
| 384 |
#. type: Plain text |
| 385 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 386 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 387 |
msgid "" |
| 388 |
"Copy information from the kernel data structure associated with I<shmid> " |
| 389 |
"into the I<shmid_ds> structure pointed to by I<buf>. The caller must have " |
| 390 |
"read permission on the shared memory segment." |
| 391 |
msgstr "" |
| 392 |
|
| 393 |
#. type: TP |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
#, no-wrap |
| 397 |
msgid "B<IPC_SET>" |
| 398 |
msgstr "" |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
msgid "" |
| 404 |
"Write the values of some members of the I<shmid_ds> structure pointed to by " |
| 405 |
"I<buf> to the kernel data structure associated with this shared memory " |
| 406 |
"segment, updating also its I<shm_ctime> member." |
| 407 |
msgstr "" |
| 408 |
|
| 409 |
#. type: Plain text |
| 410 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 411 |
#: opensuse-tumbleweed |
| 412 |
msgid "" |
| 413 |
"The following fields are updated: I<shm_perm.uid>, I<shm_perm.gid>, and (the " |
| 414 |
"least significant 9 bits of) I<shm_perm.mode>." |
| 415 |
msgstr "" |
| 416 |
|
| 417 |
#. type: Plain text |
| 418 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 419 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 420 |
msgid "" |
| 421 |
"The effective UID of the calling process must match the owner " |
| 422 |
"(I<shm_perm.uid>) or creator (I<shm_perm.cuid>) of the shared memory " |
| 423 |
"segment, or the caller must be privileged." |
| 424 |
msgstr "" |
| 425 |
|
| 426 |
#. type: TP |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
#, no-wrap |
| 430 |
msgid "B<IPC_RMID>" |
| 431 |
msgstr "" |
| 432 |
|
| 433 |
#. type: Plain text |
| 434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 436 |
msgid "" |
| 437 |
"Mark the segment to be destroyed. The segment will actually be destroyed " |
| 438 |
"only after the last process detaches it (i.e., when the I<shm_nattch> member " |
| 439 |
"of the associated structure I<shmid_ds> is zero). The caller must be the " |
| 440 |
"owner or creator of the segment, or be privileged. The I<buf> argument is " |
| 441 |
"ignored." |
| 442 |
msgstr "" |
| 443 |
|
| 444 |
#. type: Plain text |
| 445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 447 |
msgid "" |
| 448 |
"If a segment has been marked for destruction, then the (nonstandard) " |
| 449 |
"B<SHM_DEST> flag of the I<shm_perm.mode> field in the associated data " |
| 450 |
"structure retrieved by B<IPC_STAT> will be set." |
| 451 |
msgstr "" |
| 452 |
|
| 453 |
#. type: Plain text |
| 454 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 455 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 456 |
msgid "" |
| 457 |
"The caller I<must> ensure that a segment is eventually destroyed; otherwise " |
| 458 |
"its pages that were faulted in will remain in memory or swap." |
| 459 |
msgstr "" |
| 460 |
|
| 461 |
#. type: Plain text |
| 462 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 463 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 464 |
msgid "" |
| 465 |
"See also the description of I</proc/sys/kernel/shm_rmid_forced> in " |
| 466 |
"B<proc>(5)." |
| 467 |
msgstr "" |
| 468 |
|
| 469 |
#. type: TP |
| 470 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 471 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 472 |
#, no-wrap |
| 473 |
msgid "B<IPC_INFO> (Linux-specific)" |
| 474 |
msgstr "" |
| 475 |
|
| 476 |
#. type: Plain text |
| 477 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 478 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 479 |
msgid "" |
| 480 |
"Return information about system-wide shared memory limits and parameters in " |
| 481 |
"the structure pointed to by I<buf>. This structure is of type I<shminfo> " |
| 482 |
"(thus, a cast is required), defined in I<E<lt>sys/shm.hE<gt>> if the " |
| 483 |
"B<_GNU_SOURCE> feature test macro is defined:" |
| 484 |
msgstr "" |
| 485 |
|
| 486 |
#. type: Plain text |
| 487 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 488 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 489 |
#, no-wrap |
| 490 |
msgid "" |
| 491 |
"struct shminfo {\n" |
| 492 |
" unsigned long shmmax; /* Maximum segment size */\n" |
| 493 |
" unsigned long shmmin; /* Minimum segment size;\n" |
| 494 |
" always 1 */\n" |
| 495 |
" unsigned long shmmni; /* Maximum number of segments */\n" |
| 496 |
" unsigned long shmseg; /* Maximum number of segments\n" |
| 497 |
" that a process can attach;\n" |
| 498 |
" unused within kernel */\n" |
| 499 |
" unsigned long shmall; /* Maximum number of pages of\n" |
| 500 |
" shared memory, system-wide */\n" |
| 501 |
"};\n" |
| 502 |
msgstr "" |
| 503 |
|
| 504 |
#. type: Plain text |
| 505 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 506 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 507 |
msgid "" |
| 508 |
"The I<shmmni>, I<shmmax>, and I<shmall> settings can be changed via I</proc> " |
| 509 |
"files of the same name; see B<proc>(5) for details." |
| 510 |
msgstr "" |
| 511 |
|
| 512 |
#. type: TP |
| 513 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 514 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 515 |
#, no-wrap |
| 516 |
msgid "B<SHM_INFO> (Linux-specific)" |
| 517 |
msgstr "" |
| 518 |
|
| 519 |
#. type: Plain text |
| 520 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 521 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 522 |
msgid "" |
| 523 |
"Return a I<shm_info> structure whose fields contain information about system " |
| 524 |
"resources consumed by shared memory. This structure is defined in " |
| 525 |
"I<E<lt>sys/shm.hE<gt>> if the B<_GNU_SOURCE> feature test macro is defined:" |
| 526 |
msgstr "" |
| 527 |
|
| 528 |
#. type: Plain text |
| 529 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 530 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 531 |
#, no-wrap |
| 532 |
msgid "" |
| 533 |
"struct shm_info {\n" |
| 534 |
" int used_ids; /* # of currently existing\n" |
| 535 |
" segments */\n" |
| 536 |
" unsigned long shm_tot; /* Total number of shared\n" |
| 537 |
" memory pages */\n" |
| 538 |
" unsigned long shm_rss; /* # of resident shared\n" |
| 539 |
" memory pages */\n" |
| 540 |
" unsigned long shm_swp; /* # of swapped shared\n" |
| 541 |
" memory pages */\n" |
| 542 |
" unsigned long swap_attempts;\n" |
| 543 |
" /* Unused since Linux 2.4 */\n" |
| 544 |
" unsigned long swap_successes;\n" |
| 545 |
" /* Unused since Linux 2.4 */\n" |
| 546 |
"};\n" |
| 547 |
msgstr "" |
| 548 |
|
| 549 |
#. type: TP |
| 550 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 551 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 552 |
#, no-wrap |
| 553 |
msgid "B<SHM_STAT> (Linux-specific)" |
| 554 |
msgstr "" |
| 555 |
|
| 556 |
#. type: Plain text |
| 557 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 558 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 559 |
msgid "" |
| 560 |
"Return a I<shmid_ds> structure as for B<IPC_STAT>. However, the I<shmid> " |
| 561 |
"argument is not a segment identifier, but instead an index into the kernel's " |
| 562 |
"internal array that maintains information about all shared memory segments " |
| 563 |
"on the system." |
| 564 |
msgstr "" |
| 565 |
|
| 566 |
#. type: TP |
| 567 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 568 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 569 |
#, no-wrap |
| 570 |
msgid "B<SHM_STAT_ANY> (Linux-specific, since Linux 4.17)" |
| 571 |
msgstr "" |
| 572 |
|
| 573 |
#. type: Plain text |
| 574 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 575 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 576 |
msgid "" |
| 577 |
"Return a I<shmid_ds> structure as for B<SHM_STAT>. However, " |
| 578 |
"I<shm_perm.mode> is not checked for read access for I<shmid>, meaning that " |
| 579 |
"any user can employ this operation (just as any user may read I</proc/" |
| 580 |
"sysvipc/shm> to obtain the same information)." |
| 581 |
msgstr "" |
| 582 |
|
| 583 |
#. type: Plain text |
| 584 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 585 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 586 |
msgid "" |
| 587 |
"The caller can prevent or allow swapping of a shared memory segment with the " |
| 588 |
"following I<op> values:" |
| 589 |
msgstr "" |
| 590 |
|
| 591 |
#. type: TP |
| 592 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 593 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 594 |
#, no-wrap |
| 595 |
msgid "B<SHM_LOCK> (Linux-specific)" |
| 596 |
msgstr "" |
| 597 |
|
| 598 |
#. type: Plain text |
| 599 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 600 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 601 |
msgid "" |
| 602 |
"Prevent swapping of the shared memory segment. The caller must fault in any " |
| 603 |
"pages that are required to be present after locking is enabled. If a " |
| 604 |
"segment has been locked, then the (nonstandard) B<SHM_LOCKED> flag of the " |
| 605 |
"I<shm_perm.mode> field in the associated data structure retrieved by " |
| 606 |
"B<IPC_STAT> will be set." |
| 607 |
msgstr "" |
| 608 |
|
| 609 |
#. type: TP |
| 610 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 611 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 612 |
#, no-wrap |
| 613 |
msgid "B<SHM_UNLOCK> (Linux-specific)" |
| 614 |
msgstr "" |
| 615 |
|
| 616 |
#. type: Plain text |
| 617 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 618 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 619 |
msgid "Unlock the segment, allowing it to be swapped out." |
| 620 |
msgstr "" |
| 621 |
|
| 622 |
#. There was some weirdness in Linux 2.6.9: SHM_LOCK and SHM_UNLOCK could |
| 623 |
#. be applied to a segment, regardless of ownership of the segment. |
| 624 |
#. This was a botch-up in the move to RLIMIT_MEMLOCK, and was fixed |
| 625 |
#. in Linux 2.6.10. MTK, May 2005 |
| 626 |
#. type: Plain text |
| 627 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 628 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 629 |
msgid "" |
| 630 |
"Before Linux 2.6.10, only a privileged process could employ B<SHM_LOCK> and " |
| 631 |
"B<SHM_UNLOCK>. Since Linux 2.6.10, an unprivileged process can employ these " |
| 632 |
"operations if its effective UID matches the owner or creator UID of the " |
| 633 |
"segment, and (for B<SHM_LOCK>) the amount of memory to be locked falls " |
| 634 |
"within the B<RLIMIT_MEMLOCK> resource limit (see B<setrlimit>(2))." |
| 635 |
msgstr "" |
| 636 |
|
| 637 |
#. type: SH |
| 638 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 639 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 640 |
#, no-wrap |
| 641 |
msgid "RETURN VALUE" |
| 642 |
msgstr "" |
| 643 |
|
| 644 |
#. type: Plain text |
| 645 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 646 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 647 |
msgid "" |
| 648 |
"A successful B<IPC_INFO> or B<SHM_INFO> operation returns the index of the " |
| 649 |
"highest used entry in the kernel's internal array recording information " |
| 650 |
"about all shared memory segments. (This information can be used with " |
| 651 |
"repeated B<SHM_STAT> or B<SHM_STAT_ANY> operations to obtain information " |
| 652 |
"about all shared memory segments on the system.) A successful B<SHM_STAT> " |
| 653 |
"operation returns the identifier of the shared memory segment whose index " |
| 654 |
"was given in I<shmid>. Other operations return 0 on success." |
| 655 |
msgstr "" |
| 656 |
|
| 657 |
#. type: Plain text |
| 658 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 659 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 660 |
msgid "On error, -1 is returned, and I<errno> is set to indicate the error." |
| 661 |
msgstr "" |
| 662 |
|
| 663 |
#. type: SH |
| 664 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 665 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 666 |
#, no-wrap |
| 667 |
msgid "ERRORS" |
| 668 |
msgstr "" |
| 669 |
|
| 670 |
#. type: TP |
| 671 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 672 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 673 |
#, no-wrap |
| 674 |
msgid "B<EACCES>" |
| 675 |
msgstr "" |
| 676 |
|
| 677 |
#. type: Plain text |
| 678 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 679 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 680 |
msgid "" |
| 681 |
"B<IPC_STAT> or B<SHM_STAT> is requested and I<shm_perm.mode> does not allow " |
| 682 |
"read access for I<shmid>, and the calling process does not have the " |
| 683 |
"B<CAP_IPC_OWNER> capability in the user namespace that governs its IPC " |
| 684 |
"namespace." |
| 685 |
msgstr "" |
| 686 |
|
| 687 |
#. type: TP |
| 688 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 689 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 690 |
#, no-wrap |
| 691 |
msgid "B<EFAULT>" |
| 692 |
msgstr "" |
| 693 |
|
| 694 |
#. type: Plain text |
| 695 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 696 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 697 |
msgid "" |
| 698 |
"The argument I<op> has value B<IPC_SET> or B<IPC_STAT> but the address " |
| 699 |
"pointed to by I<buf> isn't accessible." |
| 700 |
msgstr "" |
| 701 |
|
| 702 |
#. type: TP |
| 703 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 704 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 705 |
#, no-wrap |
| 706 |
msgid "B<EIDRM>" |
| 707 |
msgstr "" |
| 708 |
|
| 709 |
#. type: Plain text |
| 710 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 711 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 712 |
msgid "I<shmid> points to a removed identifier." |
| 713 |
msgstr "" |
| 714 |
|
| 715 |
#. type: TP |
| 716 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 717 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 718 |
#, no-wrap |
| 719 |
msgid "B<EINVAL>" |
| 720 |
msgstr "" |
| 721 |
|
| 722 |
#. type: Plain text |
| 723 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 724 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 725 |
msgid "" |
| 726 |
"I<shmid> is not a valid identifier, or I<op> is not a valid operation. Or: " |
| 727 |
"for a B<SHM_STAT> or B<SHM_STAT_ANY> operation, the index value specified in " |
| 728 |
"I<shmid> referred to an array slot that is currently unused." |
| 729 |
msgstr "" |
| 730 |
|
| 731 |
#. type: TP |
| 732 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 733 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 734 |
#, no-wrap |
| 735 |
msgid "B<ENOMEM>" |
| 736 |
msgstr "" |
| 737 |
|
| 738 |
#. type: Plain text |
| 739 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 740 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 741 |
msgid "" |
| 742 |
"(Since Linux 2.6.9), B<SHM_LOCK> was specified and the size of the to-be-" |
| 743 |
"locked segment would mean that the total bytes in locked shared memory " |
| 744 |
"segments would exceed the limit for the real user ID of the calling " |
| 745 |
"process. This limit is defined by the B<RLIMIT_MEMLOCK> soft resource limit " |
| 746 |
"(see B<setrlimit>(2))." |
| 747 |
msgstr "" |
| 748 |
|
| 749 |
#. type: TP |
| 750 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 751 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 752 |
#, no-wrap |
| 753 |
msgid "B<EOVERFLOW>" |
| 754 |
msgstr "" |
| 755 |
|
| 756 |
#. type: Plain text |
| 757 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 758 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 759 |
msgid "" |
| 760 |
"B<IPC_STAT> is attempted, and the GID or UID value is too large to be stored " |
| 761 |
"in the structure pointed to by I<buf>." |
| 762 |
msgstr "" |
| 763 |
|
| 764 |
#. type: TP |
| 765 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 766 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 767 |
#, no-wrap |
| 768 |
msgid "B<EPERM>" |
| 769 |
msgstr "" |
| 770 |
|
| 771 |
#. type: Plain text |
| 772 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 773 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 774 |
msgid "" |
| 775 |
"B<IPC_SET> or B<IPC_RMID> is attempted, and the effective user ID of the " |
| 776 |
"calling process is not that of the creator (found in I<shm_perm.cuid>), or " |
| 777 |
"the owner (found in I<shm_perm.uid>), and the process was not privileged " |
| 778 |
"(Linux: did not have the B<CAP_SYS_ADMIN> capability)." |
| 779 |
msgstr "" |
| 780 |
|
| 781 |
#. type: Plain text |
| 782 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 783 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 784 |
msgid "" |
| 785 |
"Or (before Linux 2.6.9), B<SHM_LOCK> or B<SHM_UNLOCK> was specified, but the " |
| 786 |
"process was not privileged (Linux: did not have the B<CAP_IPC_LOCK> " |
| 787 |
"capability). (Since Linux 2.6.9, this error can also occur if the " |
| 788 |
"B<RLIMIT_MEMLOCK> is 0 and the caller is not privileged.)" |
| 789 |
msgstr "" |
| 790 |
|
| 791 |
#. type: SH |
| 792 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 793 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 794 |
#, no-wrap |
| 795 |
msgid "VERSIONS" |
| 796 |
msgstr "" |
| 797 |
|
| 798 |
#. type: Plain text |
| 799 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 800 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 801 |
msgid "" |
| 802 |
"Linux permits a process to attach (B<shmat>(2)) a shared memory segment " |
| 803 |
"that has already been marked for deletion using I<shmctl(IPC_RMID)>. This " |
| 804 |
"feature is not available on other UNIX implementations; portable " |
| 805 |
"applications should avoid relying on it." |
| 806 |
msgstr "" |
| 807 |
|
| 808 |
#. type: SH |
| 809 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 810 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 811 |
#, no-wrap |
| 812 |
msgid "STANDARDS" |
| 813 |
msgstr "" |
| 814 |
|
| 815 |
#. type: Plain text |
| 816 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 817 |
#: opensuse-tumbleweed |
| 818 |
msgid "POSIX.1-2024." |
| 819 |
msgstr "" |
| 820 |
|
| 821 |
#. type: SH |
| 822 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 823 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 824 |
#, no-wrap |
| 825 |
msgid "HISTORY" |
| 826 |
msgstr "" |
| 827 |
|
| 828 |
#. SVr4 documents additional error conditions EINVAL, |
| 829 |
#. ENOENT, ENOSPC, ENOMEM, EEXIST. Neither SVr4 nor SVID documents |
| 830 |
#. an EIDRM error condition. |
| 831 |
#. type: Plain text |
| 832 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 833 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 834 |
msgid "POSIX.1-2001, SVr4." |
| 835 |
msgstr "" |
| 836 |
|
| 837 |
#. type: Plain text |
| 838 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 839 |
#: opensuse-tumbleweed |
| 840 |
msgid "" |
| 841 |
"Various fields in a I<struct\\ shmid_ds> were typed as I<short> under Linux " |
| 842 |
"2.2 and have become I<long> under Linux 2.4. To take advantage of this, a " |
| 843 |
"recompilation under glibc-2.1.91 or later should suffice. (The kernel " |
| 844 |
"distinguishes old and new calls by an B<IPC_64> flag in I<op>.)" |
| 845 |
msgstr "" |
| 846 |
|
| 847 |
#. type: SH |
| 848 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 849 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 850 |
#, no-wrap |
| 851 |
msgid "NOTES" |
| 852 |
msgstr "" |
| 853 |
|
| 854 |
#. type: Plain text |
| 855 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 856 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 857 |
msgid "" |
| 858 |
"The B<IPC_INFO>, B<SHM_STAT>, and B<SHM_INFO> operations are used by the " |
| 859 |
"B<ipcs>(1) program to provide information on allocated resources. In the " |
| 860 |
"future, these may modified or moved to a I</proc> filesystem interface." |
| 861 |
msgstr "" |
| 862 |
|
| 863 |
#. type: SH |
| 864 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 865 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 866 |
#, no-wrap |
| 867 |
msgid "SEE ALSO" |
| 868 |
msgstr "" |
| 869 |
|
| 870 |
#. type: Plain text |
| 871 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 872 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 873 |
msgid "" |
| 874 |
"B<mlock>(2), B<setrlimit>(2), B<shmget>(2), B<shmop>(2), B<capabilities>(7), " |
| 875 |
"B<sysvipc>(7)" |
| 876 |
msgstr "" |
| 877 |
|
| 878 |
#. type: TH |
| 879 |
#: debian-trixie |
| 880 |
#, no-wrap |
| 881 |
msgid "2024-05-02" |
| 882 |
msgstr "" |
| 883 |
|
| 884 |
#. type: TH |
| 885 |
#: debian-trixie |
| 886 |
#, no-wrap |
| 887 |
msgid "Linux man-pages 6.9.1" |
| 888 |
msgstr "" |
| 889 |
|
| 890 |
#. type: Plain text |
| 891 |
#: debian-trixie |
| 892 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 893 |
msgstr "" |
| 894 |
|
| 895 |
#. type: Plain text |
| 896 |
#: debian-trixie fedora-44 fedora-rawhide |
| 897 |
#, no-wrap |
| 898 |
msgid "" |
| 899 |
"struct shmid_ds {\n" |
| 900 |
" struct ipc_perm shm_perm; /* Ownership and permissions */\n" |
| 901 |
" size_t shm_segsz; /* Size of segment (bytes) */\n" |
| 902 |
" time_t shm_atime; /* Last attach time */\n" |
| 903 |
" time_t shm_dtime; /* Last detach time */\n" |
| 904 |
" time_t shm_ctime; /* Creation time/time of last\n" |
| 905 |
" modification via shmctl() */\n" |
| 906 |
" pid_t shm_cpid; /* PID of creator */\n" |
| 907 |
" pid_t shm_lpid; /* PID of last shmat(2)/shmdt(2) */\n" |
| 908 |
" shmatt_t shm_nattch; /* No. of current attaches */\n" |
| 909 |
" ...\n" |
| 910 |
"};\n" |
| 911 |
msgstr "" |
| 912 |
|
| 913 |
#. type: Plain text |
| 914 |
#: debian-trixie fedora-44 fedora-rawhide |
| 915 |
#, no-wrap |
| 916 |
msgid "" |
| 917 |
"struct ipc_perm {\n" |
| 918 |
" key_t __key; /* Key supplied to shmget(2) */\n" |
| 919 |
" uid_t B<uid>; /* Effective UID of owner */\n" |
| 920 |
" gid_t B<gid>; /* Effective GID of owner */\n" |
| 921 |
" uid_t cuid; /* Effective UID of creator */\n" |
| 922 |
" gid_t cgid; /* Effective GID of creator */\n" |
| 923 |
" unsigned short B<mode>; /* B<Permissions> + SHM_DEST and\n" |
| 924 |
" SHM_LOCKED flags */\n" |
| 925 |
" unsigned short __seq; /* Sequence number */\n" |
| 926 |
"};\n" |
| 927 |
msgstr "" |
| 928 |
|
| 929 |
#. type: Plain text |
| 930 |
#: debian-trixie fedora-44 fedora-rawhide |
| 931 |
msgid "" |
| 932 |
"The following fields are updated: I<shm_perm.uid>, I<shm_perm.gid>, and (the " |
| 933 |
"least significant 9 bits of) I<shm_perm.mode>." |
| 934 |
msgstr "" |
| 935 |
|
| 936 |
#. type: Plain text |
| 937 |
#: debian-trixie fedora-44 fedora-rawhide |
| 938 |
msgid "POSIX.1-2008." |
| 939 |
msgstr "" |
| 940 |
|
| 941 |
#. type: Plain text |
| 942 |
#: debian-trixie fedora-44 fedora-rawhide |
| 943 |
msgid "" |
| 944 |
"Various fields in a I<struct shmid_ds> were typed as I<short> under Linux " |
| 945 |
"2.2 and have become I<long> under Linux 2.4. To take advantage of this, a " |
| 946 |
"recompilation under glibc-2.1.91 or later should suffice. (The kernel " |
| 947 |
"distinguishes old and new calls by an B<IPC_64> flag in I<op>.)" |
| 948 |
msgstr "" |
| 949 |
|
| 950 |
#. type: TH |
| 951 |
#: fedora-44 fedora-rawhide |
| 952 |
#, no-wrap |
| 953 |
msgid "2024-07-23" |
| 954 |
msgstr "" |
| 955 |
|
| 956 |
#. type: TH |
| 957 |
#: fedora-44 fedora-rawhide |
| 958 |
#, no-wrap |
| 959 |
msgid "Linux man-pages 6.13" |
| 960 |
msgstr "" |
| 961 |
|
| 962 |
#. type: TH |
| 963 |
#: mageia-cauldron |
| 964 |
#, no-wrap |
| 965 |
msgid "Linux man-pages 6.17" |
| 966 |
msgstr "" |
| 967 |
|
| 968 |
#. type: TH |
| 969 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 970 |
#, no-wrap |
| 971 |
msgid "Linux man-pages (unreleased)" |
| 972 |
msgstr "" |