| 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 "setpgid" |
| 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 "setpgid, getpgid, setpgrp, getpgrp - set/get process group" |
| 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 setpgid(pid_t >I<pid>B<, pid_t >I<pgid>B<);>\n" |
| 85 |
"B<pid_t getpgid(pid_t >I<pid>B<);>\n" |
| 86 |
msgstr "" |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 90 |
#: opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "" |
| 93 |
"B<pid_t getpgrp(void);> /* POSIX.1 version */\n" |
| 94 |
"B<[[deprecated]] pid_t getpgrp(pid_t >I<pid>B<);>\\f[R] /* BSD version */\\fR\n" |
| 95 |
msgstr "" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 99 |
#: opensuse-tumbleweed |
| 100 |
#, no-wrap |
| 101 |
msgid "" |
| 102 |
"B<int setpgrp(void);> /* System V version */\n" |
| 103 |
"B<[[deprecated]] int setpgrp(pid_t >I<pid>B<, pid_t >I<pgid>B<);>\\f[R] /* BSD version */\\fR\n" |
| 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 |
msgid "" |
| 110 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 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 |
msgid "B<getpgid>():" |
| 117 |
msgstr "" |
| 118 |
|
| 119 |
#. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED |
| 120 |
#. type: Plain text |
| 121 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 122 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 123 |
#, no-wrap |
| 124 |
msgid "" |
| 125 |
" _XOPEN_SOURCE E<gt>= 500\n" |
| 126 |
" || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 127 |
msgstr "" |
| 128 |
|
| 129 |
#. type: Plain text |
| 130 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 131 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 132 |
msgid "B<setpgrp>() (POSIX.1):" |
| 133 |
msgstr "" |
| 134 |
|
| 135 |
#. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED |
| 136 |
#. type: Plain text |
| 137 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 138 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 139 |
#, no-wrap |
| 140 |
msgid "" |
| 141 |
" _XOPEN_SOURCE E<gt>= 500\n" |
| 142 |
" || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n" |
| 143 |
" || /* glibc E<lt>= 2.19: */ _SVID_SOURCE\n" |
| 144 |
msgstr "" |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 148 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 149 |
msgid "B<setpgrp>() (BSD), B<getpgrp>() (BSD):" |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "" |
| 157 |
" [These are available only before glibc 2.19]\n" |
| 158 |
" _BSD_SOURCE &&\n" |
| 159 |
" ! (_POSIX_SOURCE || _POSIX_C_SOURCE || _XOPEN_SOURCE\n" |
| 160 |
" || _GNU_SOURCE || _SVID_SOURCE)\n" |
| 161 |
msgstr "" |
| 162 |
|
| 163 |
#. type: SH |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
#, no-wrap |
| 167 |
msgid "DESCRIPTION" |
| 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 |
"All of these interfaces are available on Linux, and are used for getting and " |
| 175 |
"setting the process group ID (PGID) of a process. The preferred, POSIX.1-" |
| 176 |
"specified ways of doing this are: B<getpgrp>(void), for retrieving the " |
| 177 |
"calling process's PGID; and B<setpgid>(), for setting a process's PGID." |
| 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 |
"B<setpgid>() sets the PGID of the process specified by I<pid> to I<pgid>. " |
| 185 |
"If I<pid> is zero, then the process ID of the calling process is used. If " |
| 186 |
"I<pgid> is zero, then the PGID of the process specified by I<pid> is made " |
| 187 |
"the same as its process ID. If B<setpgid>() is used to move a process from " |
| 188 |
"one process group to another (as is done by some shells when creating " |
| 189 |
"pipelines), both process groups must be part of the same session (see " |
| 190 |
"B<setsid>(2) and B<credentials>(7)). In this case, the I<pgid> specifies " |
| 191 |
"an existing process group to be joined and the session ID of that group must " |
| 192 |
"match the session ID of the joining process." |
| 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 |
"The POSIX.1 version of B<getpgrp>(), which takes no arguments, returns the " |
| 200 |
"PGID of the calling process." |
| 201 |
msgstr "" |
| 202 |
|
| 203 |
#. type: Plain text |
| 204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
msgid "" |
| 207 |
"B<getpgid>() returns the PGID of the process specified by I<pid>. If " |
| 208 |
"I<pid> is zero, the process ID of the calling process is used. (Retrieving " |
| 209 |
"the PGID of a process other than the caller is rarely necessary, and the " |
| 210 |
"POSIX.1 B<getpgrp>() is preferred for that task.)" |
| 211 |
msgstr "" |
| 212 |
|
| 213 |
#. type: Plain text |
| 214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 216 |
msgid "" |
| 217 |
"The System\\ V-style B<setpgrp>(), which takes no arguments, is equivalent " |
| 218 |
"to I<setpgid(0,\\ 0)>." |
| 219 |
msgstr "" |
| 220 |
|
| 221 |
#. type: Plain text |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
msgid "" |
| 225 |
"The BSD-specific B<setpgrp>() call, which takes arguments I<pid> and " |
| 226 |
"I<pgid>, is a wrapper function that calls" |
| 227 |
msgstr "" |
| 228 |
|
| 229 |
#. type: Plain text |
| 230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 232 |
#, no-wrap |
| 233 |
msgid "setpgid(pid, pgid)\n" |
| 234 |
msgstr "" |
| 235 |
|
| 236 |
#. The true BSD setpgrp() system call differs in allowing the PGID |
| 237 |
#. to be set to arbitrary values, rather than being restricted to |
| 238 |
#. PGIDs in the same session. |
| 239 |
#. type: Plain text |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
msgid "" |
| 243 |
"Since glibc 2.19, the BSD-specific B<setpgrp>() function is no longer " |
| 244 |
"exposed by I<E<lt>unistd.hE<gt>>; calls should be replaced with the " |
| 245 |
"B<setpgid>() call shown above." |
| 246 |
msgstr "" |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 250 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 251 |
msgid "" |
| 252 |
"The BSD-specific B<getpgrp>() call, which takes a single I<pid> argument, " |
| 253 |
"is a wrapper function that calls" |
| 254 |
msgstr "" |
| 255 |
|
| 256 |
#. type: Plain text |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
#, no-wrap |
| 260 |
msgid "getpgid(pid)\n" |
| 261 |
msgstr "" |
| 262 |
|
| 263 |
#. type: Plain text |
| 264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 266 |
msgid "" |
| 267 |
"Since glibc 2.19, the BSD-specific B<getpgrp>() function is no longer " |
| 268 |
"exposed by I<E<lt>unistd.hE<gt>>; calls should be replaced with calls to the " |
| 269 |
"POSIX.1 B<getpgrp>() which takes no arguments (if the intent is to obtain " |
| 270 |
"the caller's PGID), or with the B<getpgid>() call shown above." |
| 271 |
msgstr "" |
| 272 |
|
| 273 |
#. type: SH |
| 274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 276 |
#, no-wrap |
| 277 |
msgid "RETURN VALUE" |
| 278 |
msgstr "" |
| 279 |
|
| 280 |
#. type: Plain text |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
msgid "" |
| 284 |
"On success, B<setpgid>() and B<setpgrp>() return zero. On error, -1 is " |
| 285 |
"returned, and I<errno> is set to indicate the error." |
| 286 |
msgstr "" |
| 287 |
|
| 288 |
#. type: Plain text |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
msgid "The POSIX.1 B<getpgrp>() always returns the PGID of the caller." |
| 292 |
msgstr "" |
| 293 |
|
| 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 |
"B<getpgid>(), and the BSD-specific B<getpgrp>() return a process group on " |
| 299 |
"success. On error, -1 is returned, and I<errno> is set to indicate the " |
| 300 |
"error." |
| 301 |
msgstr "" |
| 302 |
|
| 303 |
#. type: SH |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
#, no-wrap |
| 307 |
msgid "ERRORS" |
| 308 |
msgstr "" |
| 309 |
|
| 310 |
#. type: TP |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
#, no-wrap |
| 314 |
msgid "B<EACCES>" |
| 315 |
msgstr "" |
| 316 |
|
| 317 |
#. type: Plain text |
| 318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 320 |
msgid "" |
| 321 |
"An attempt was made to change the process group ID of one of the children of " |
| 322 |
"the calling process and the child had already performed an B<execve>(2) " |
| 323 |
"(B<setpgid>(), B<setpgrp>())." |
| 324 |
msgstr "" |
| 325 |
|
| 326 |
#. type: TP |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
#, no-wrap |
| 330 |
msgid "B<EINVAL>" |
| 331 |
msgstr "" |
| 332 |
|
| 333 |
#. type: Plain text |
| 334 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 335 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 336 |
msgid "I<pgid> is less than 0 (B<setpgid>(), B<setpgrp>())." |
| 337 |
msgstr "" |
| 338 |
|
| 339 |
#. type: TP |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
#, no-wrap |
| 343 |
msgid "B<EPERM>" |
| 344 |
msgstr "" |
| 345 |
|
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 348 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
msgid "" |
| 350 |
"An attempt was made to move a process into a process group in a different " |
| 351 |
"session, or to change the process group ID of one of the children of the " |
| 352 |
"calling process and the child was in a different session, or to change the " |
| 353 |
"process group ID of a session leader (B<setpgid>(), B<setpgrp>())." |
| 354 |
msgstr "" |
| 355 |
|
| 356 |
#. type: Plain text |
| 357 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 358 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 359 |
msgid "The target process group does not exist. (B<setpgid>(), B<setpgrp>())." |
| 360 |
msgstr "" |
| 361 |
|
| 362 |
#. type: TP |
| 363 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 364 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 365 |
#, no-wrap |
| 366 |
msgid "B<ESRCH>" |
| 367 |
msgstr "" |
| 368 |
|
| 369 |
#. type: Plain text |
| 370 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 371 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 372 |
msgid "" |
| 373 |
"For B<getpgid>(): I<pid> does not match any process. For B<setpgid>(): " |
| 374 |
"I<pid> is not the calling process and not a child of the calling process." |
| 375 |
msgstr "" |
| 376 |
|
| 377 |
#. type: SH |
| 378 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 379 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 380 |
#, no-wrap |
| 381 |
msgid "STANDARDS" |
| 382 |
msgstr "" |
| 383 |
|
| 384 |
#. type: TP |
| 385 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 386 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 387 |
#, no-wrap |
| 388 |
msgid "B<getpgid>()" |
| 389 |
msgstr "" |
| 390 |
|
| 391 |
#. type: TQ |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
#, no-wrap |
| 395 |
msgid "B<setpgid>()" |
| 396 |
msgstr "" |
| 397 |
|
| 398 |
#. type: TQ |
| 399 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 400 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 401 |
#, no-wrap |
| 402 |
msgid "B<getpgrp>() (no args)" |
| 403 |
msgstr "" |
| 404 |
|
| 405 |
#. type: Plain text |
| 406 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 407 |
#: opensuse-tumbleweed |
| 408 |
msgid "POSIX.1-2024." |
| 409 |
msgstr "" |
| 410 |
|
| 411 |
#. type: TP |
| 412 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 413 |
#: opensuse-tumbleweed |
| 414 |
#, no-wrap |
| 415 |
msgid "B<setpgrp>()" |
| 416 |
msgstr "" |
| 417 |
|
| 418 |
#. type: TQ |
| 419 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 420 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 421 |
#, no-wrap |
| 422 |
msgid "B<getpgrp>() (1 arg)" |
| 423 |
msgstr "" |
| 424 |
|
| 425 |
#. type: Plain text |
| 426 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 427 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 428 |
msgid "None." |
| 429 |
msgstr "" |
| 430 |
|
| 431 |
#. type: SH |
| 432 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 433 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 434 |
#, no-wrap |
| 435 |
msgid "HISTORY" |
| 436 |
msgstr "" |
| 437 |
|
| 438 |
#. type: Plain text |
| 439 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 440 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 441 |
msgid "POSIX.1-2001." |
| 442 |
msgstr "" |
| 443 |
|
| 444 |
#. type: TP |
| 445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 447 |
#, no-wrap |
| 448 |
msgid "B<setpgrp>() (no args)" |
| 449 |
msgstr "" |
| 450 |
|
| 451 |
#. type: Plain text |
| 452 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 453 |
#: opensuse-tumbleweed |
| 454 |
msgid "POSIX.1-2001. Obsoleted in POSIX.1-2008. Removed in POSIX.1-2024." |
| 455 |
msgstr "" |
| 456 |
|
| 457 |
#. type: TP |
| 458 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 459 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 460 |
#, no-wrap |
| 461 |
msgid "B<setpgrp>() (2 args)" |
| 462 |
msgstr "" |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 467 |
msgid "4.2BSD." |
| 468 |
msgstr "" |
| 469 |
|
| 470 |
#. type: SH |
| 471 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 472 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 473 |
#, no-wrap |
| 474 |
msgid "NOTES" |
| 475 |
msgstr "" |
| 476 |
|
| 477 |
#. type: Plain text |
| 478 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 479 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 480 |
msgid "" |
| 481 |
"A child created via B<fork>(2) inherits its parent's process group ID. The " |
| 482 |
"PGID is preserved across an B<execve>(2)." |
| 483 |
msgstr "" |
| 484 |
|
| 485 |
#. type: Plain text |
| 486 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 487 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 488 |
msgid "" |
| 489 |
"Each process group is a member of a session and each process is a member of " |
| 490 |
"the session of which its process group is a member. (See B<credentials>(7).)" |
| 491 |
msgstr "" |
| 492 |
|
| 493 |
#. type: Plain text |
| 494 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 495 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 496 |
msgid "" |
| 497 |
"A session can have a controlling terminal. At any time, one (and only one) " |
| 498 |
"of the process groups in the session can be the foreground process group for " |
| 499 |
"the terminal; the remaining process groups are in the background. If a " |
| 500 |
"signal is generated from the terminal (e.g., typing the interrupt key to " |
| 501 |
"generate B<SIGINT>), that signal is sent to the foreground process group. " |
| 502 |
"(See B<termios>(3) for a description of the characters that generate " |
| 503 |
"signals.) Only the foreground process group may B<read>(2) from the " |
| 504 |
"terminal; if a background process group tries to B<read>(2) from the " |
| 505 |
"terminal, then the group is sent a B<SIGTTIN> signal, which suspends it. " |
| 506 |
"The B<tcgetpgrp>(3) and B<tcsetpgrp>(3) functions are used to get/set the " |
| 507 |
"foreground process group of the controlling terminal." |
| 508 |
msgstr "" |
| 509 |
|
| 510 |
#. type: Plain text |
| 511 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 512 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 513 |
msgid "" |
| 514 |
"The B<setpgid>() and B<getpgrp>() calls are used by programs such as " |
| 515 |
"B<bash>(1) to create process groups in order to implement shell job control." |
| 516 |
msgstr "" |
| 517 |
|
| 518 |
#. exit.3 refers to the following text: |
| 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 |
"If the termination of a process causes a process group to become orphaned, " |
| 524 |
"and if any member of the newly orphaned process group is stopped, then a " |
| 525 |
"B<SIGHUP> signal followed by a B<SIGCONT> signal will be sent to each " |
| 526 |
"process in the newly orphaned process group. An orphaned process group is " |
| 527 |
"one in which the parent of every member of process group is either itself " |
| 528 |
"also a member of the process group or is a member of a process group in a " |
| 529 |
"different session (see also B<credentials>(7))." |
| 530 |
msgstr "" |
| 531 |
|
| 532 |
#. type: SH |
| 533 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 534 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 535 |
#, no-wrap |
| 536 |
msgid "SEE ALSO" |
| 537 |
msgstr "" |
| 538 |
|
| 539 |
#. type: Plain text |
| 540 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 541 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 542 |
msgid "" |
| 543 |
"B<getuid>(2), B<setsid>(2), B<tcgetpgrp>(3), B<tcsetpgrp>(3), B<termios>(3), " |
| 544 |
"B<credentials>(7)" |
| 545 |
msgstr "" |
| 546 |
|
| 547 |
#. type: TH |
| 548 |
#: debian-trixie |
| 549 |
#, no-wrap |
| 550 |
msgid "2024-05-02" |
| 551 |
msgstr "" |
| 552 |
|
| 553 |
#. type: TH |
| 554 |
#: debian-trixie |
| 555 |
#, no-wrap |
| 556 |
msgid "Linux man-pages 6.9.1" |
| 557 |
msgstr "" |
| 558 |
|
| 559 |
#. type: Plain text |
| 560 |
#: debian-trixie |
| 561 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 562 |
msgstr "" |
| 563 |
|
| 564 |
#. type: Plain text |
| 565 |
#: debian-trixie fedora-44 fedora-rawhide |
| 566 |
#, no-wrap |
| 567 |
msgid "" |
| 568 |
"B<pid_t getpgrp(void);> /* POSIX.1 version */\n" |
| 569 |
"B<[[deprecated]] pid_t getpgrp(pid_t >I<pid>B<);> /* BSD version */\n" |
| 570 |
msgstr "" |
| 571 |
|
| 572 |
#. type: Plain text |
| 573 |
#: debian-trixie fedora-44 fedora-rawhide |
| 574 |
#, no-wrap |
| 575 |
msgid "" |
| 576 |
"B<int setpgrp(void);> /* System V version */\n" |
| 577 |
"B<[[deprecated]] int setpgrp(pid_t >I<pid>B<, pid_t >I<pgid>B<);> /* BSD version */\n" |
| 578 |
msgstr "" |
| 579 |
|
| 580 |
#. type: Plain text |
| 581 |
#: debian-trixie fedora-44 fedora-rawhide |
| 582 |
msgid "POSIX.1-2008 (but see HISTORY)." |
| 583 |
msgstr "" |
| 584 |
|
| 585 |
#. type: Plain text |
| 586 |
#: debian-trixie fedora-44 fedora-rawhide |
| 587 |
msgid "POSIX.1-2001. POSIX.1-2008 marks it as obsolete." |
| 588 |
msgstr "" |
| 589 |
|
| 590 |
#. type: TH |
| 591 |
#: fedora-44 fedora-rawhide |
| 592 |
#, no-wrap |
| 593 |
msgid "2024-07-23" |
| 594 |
msgstr "" |
| 595 |
|
| 596 |
#. type: TH |
| 597 |
#: fedora-44 fedora-rawhide |
| 598 |
#, no-wrap |
| 599 |
msgid "Linux man-pages 6.13" |
| 600 |
msgstr "" |
| 601 |
|
| 602 |
#. type: TH |
| 603 |
#: mageia-cauldron |
| 604 |
#, no-wrap |
| 605 |
msgid "Linux man-pages 6.17" |
| 606 |
msgstr "" |
| 607 |
|
| 608 |
#. type: TH |
| 609 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 610 |
#, no-wrap |
| 611 |
msgid "Linux man-pages (unreleased)" |
| 612 |
msgstr "" |