Home
last modified time | relevance | path

Searched refs:tcsetpgrp (Results 1 - 23 of 23) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/manual/unistd/
H A Dtcsetpgrp.c54 result = tcsetpgrp(STDIN_FILENO, getpgrp()); in tcsetpgrp_0100()
56 t_error("%s tcsetpgrp failed", __func__); in tcsetpgrp_0100()
60 result = tcsetpgrp(STDIN_FILENO, spid); in tcsetpgrp_0100()
71 result = tcsetpgrp(-1, -1); in tcsetpgrp_0200()
73 t_error("%s tcsetpgrp failed, result is %d\n", __func__, result); in tcsetpgrp_0200()
H A Dtcgetpgrp.c54 result = tcsetpgrp(STDIN_FILENO, getpgrp()); in tcgetpgrp_0100()
56 t_error("%s tcsetpgrp failed", __func__); in tcgetpgrp_0100()
60 result = tcsetpgrp(STDIN_FILENO, spid); in tcgetpgrp_0100()
/third_party/rust/crates/rustix/src/termios/
H A Dtc.rs60 /// `tcsetpgrp(fd, pid)`—Set the terminal foreground process group.
68 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcsetpgrp.html
69 /// [Linux]: https://man7.org/linux/man-pages/man3/tcsetpgrp.3.html
73 pub fn tcsetpgrp<Fd: AsFd>(fd: Fd, pid: Pid) -> io::Result<()> { in tcsetpgrp() functions
74 backend::termios::syscalls::tcsetpgrp(fd.as_fd(), pid) in tcsetpgrp()
H A Dmod.rs785 tcsetpgrp, tcsetwinsize, Action, OptionalActions, QueueSelector, Speed, Tcflag, Termios,
/third_party/toybox/toys/other/
H A Dsetsid.c25 tcsetpgrp(0, getpid()); in setsid_main()
/third_party/musl/src/unistd/
H A Dtcsetpgrp.c5 int tcsetpgrp(int fd, pid_t pgrp) in tcsetpgrp() function
/third_party/rust/crates/rustix/src/backend/libc/termios/
H A Dsyscalls.rs40 pub(crate) fn tcsetpgrp(fd: BorrowedFd<'_>, pid: Pid) -> io::Result<()> {
41 unsafe { ret(c::tcsetpgrp(borrowed_fd(fd), pid.as_raw_nonzero().get())) }
/third_party/mksh/
H A Djobs.c248 if (tcsetpgrp(tty_fd, restore_ttypgrp) < 0) { in j_suspend()
250 Tj_suspend, "tcsetpgrp", cstrerror(errno)); in j_suspend()
273 } else if (tcsetpgrp(tty_fd, kshpid) < 0) { in j_suspend()
275 Tj_suspend, "tcsetpgrp", cstrerror(errno)); in j_suspend()
327 tcsetpgrp(tty_fd, restore_ttypgrp); in j_exit()
384 if (tcsetpgrp(tty_fd, kshpid) < 0) {
386 "j_init", "tcsetpgrp",
551 tcsetpgrp(tty_fd, j->pgrp);
870 tcsetpgrp(tty_fd, (j->flags & JF_SAVEDTTYPGRP) ?
877 "fg: 1st", "tcsetpgrp", tty_f
[all...]
/third_party/musl/porting/liteos_a/user/include/
H A Dunistd.h129 int tcsetpgrp(int, pid_t);
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h104 int tcsetpgrp(int, pid_t);
/third_party/musl/porting/linux/user/include/
H A Dunistd.h131 int tcsetpgrp(int, pid_t);
/third_party/musl/porting/liteos_m/user/include/
H A Dunistd.h129 int tcsetpgrp(int, pid_t);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dunistd.h104 int tcsetpgrp(int, pid_t);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h109 int tcsetpgrp(int, pid_t);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dunistd.h104 int tcsetpgrp(int, pid_t);
/third_party/musl/include/
H A Dunistd.h168 int tcsetpgrp(int, pid_t);
/third_party/toybox/toys/pending/
H A Dgetty.c306 tcsetpgrp(STDIN_FILENO, pid); in getty_main()
/third_party/musl/libc-test/src/api/
H A Dunistd.c323 {int(*p)(int,pid_t) = tcsetpgrp;} in f()
/third_party/rust/crates/nix/src/
H A Dunistd.rs375 /// [tcgetpgrp(3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcsetpgrp.html)).
380 pub fn tcsetpgrp(fd: c_int, pgrp: Pid) -> Result<()> { in tcsetpgrp() functions
381 let res = unsafe { libc::tcsetpgrp(fd, pgrp.into()) }; in tcsetpgrp()
/third_party/rust/crates/libc/src/unix/
H A Dmod.rs938 pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int; in tcsetpgrp() functions
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs3632 pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int; in tcsetpgrp() functions
/third_party/python/Modules/
H A Dposixmodule.c9235 os.tcsetpgrp
9248 if (tcsetpgrp(fd, pgid) < 0) in os_tcsetpgrp_impl()
/third_party/python/Lib/test/
H A Dtest_os.py2246 @unittest.skipUnless(hasattr(os, 'tcsetpgrp'), 'test needs os.tcsetpgrp()')
2248 self.check(os.tcsetpgrp, 0)

Completed in 56 milliseconds