Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/functionalext/supplement/manual/unistd/
H A Dtcgetpgrp.c30 pid = tcgetpgrp(STDIN_FILENO); in tcgetpgrp_handler()
52 t_error("%s tcgetpgrp is not foreground\n", __func__); in tcgetpgrp_0100()
71 result = tcgetpgrp(-1); in tcgetpgrp_0200()
73 t_error("%s tcgetpgrp should failed, result is %d\n", __func__, result); in tcgetpgrp_0200()
H A Dtcsetpgrp.c30 pid = tcgetpgrp(STDIN_FILENO); in tcgetpgrp_handler()
52 t_error("%s tcgetpgrp is not foreground\n", __func__); in tcsetpgrp_0100()
/third_party/rust/crates/rustix/src/termios/
H A Dtc.rs43 /// `tcgetpgrp(fd)`—Get the terminal foreground process group.
51 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcgetpgrp.html
52 /// [Linux]: https://man7.org/linux/man-pages/man3/tcgetpgrp.3.html
56 pub fn tcgetpgrp<Fd: AsFd>(fd: Fd) -> io::Result<Pid> { in tcgetpgrp() functions
57 backend::termios::syscalls::tcgetpgrp(fd.as_fd()) in tcgetpgrp()
H A Dmod.rs784 tcdrain, tcflow, tcflush, tcgetattr, tcgetpgrp, tcgetsid, tcgetwinsize, tcsendbreak, tcsetattr,
/third_party/musl/src/unistd/
H A Dtcgetpgrp.c6 pid_t tcgetpgrp(int fd) in tcgetpgrp() function
/third_party/musl/porting/liteos_a/user/src/unistd/
H A Dtcgetpgrp.c6 pid_t tcgetpgrp(int fd) in tcgetpgrp() function
/third_party/rust/crates/rustix/src/backend/libc/termios/
H A Dsyscalls.rs31 pub(crate) fn tcgetpgrp(fd: BorrowedFd<'_>) -> io::Result<Pid> {
33 let pid = ret_pid_t(c::tcgetpgrp(borrowed_fd(fd)))?;
/third_party/rust/crates/rustix/src/backend/linux_raw/termios/
H A Dsyscalls.rs45 pub(crate) fn tcgetpgrp(fd: BorrowedFd<'_>) -> io::Result<Pid> {
/third_party/musl/porting/liteos_a/user/include/
H A Dunistd.h128 pid_t tcgetpgrp(int);
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h103 pid_t tcgetpgrp(int);
/third_party/musl/porting/linux/user/include/
H A Dunistd.h130 pid_t tcgetpgrp(int);
/third_party/musl/porting/liteos_m/user/include/
H A Dunistd.h128 pid_t tcgetpgrp(int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dunistd.h103 pid_t tcgetpgrp(int);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h108 pid_t tcgetpgrp(int);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dunistd.h103 pid_t tcgetpgrp(int);
/third_party/musl/include/
H A Dunistd.h167 pid_t tcgetpgrp(int);
/third_party/musl/libc-test/src/api/
H A Dunistd.c322 {pid_t(*p)(int) = tcgetpgrp;} in f()
/third_party/rust/crates/rustix/examples/
H A Dstdio.rs51 println!(" - process group: {:?}", rustix::termios::tcgetpgrp(fd)?); in show()
/third_party/mksh/
H A Djobs.c363 if ((ttypgrp = tcgetpgrp(tty_fd)) < 0) {
365 "j_init", "tcgetpgrp",
1193 (j->saved_ttypgrp = tcgetpgrp(tty_fd)) >= 0)
/third_party/rust/crates/nix/src/
H A Dunistd.rs365 /// [tcgetpgrp(3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcgetpgrp.html)).
370 pub fn tcgetpgrp(fd: c_int) -> Result<Pid> { in tcgetpgrp() functions
371 let res = unsafe { libc::tcgetpgrp(fd) }; in tcgetpgrp()
375 /// [tcgetpgrp(3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcsetpgrp.html)).
/third_party/rust/crates/libc/src/unix/
H A Dmod.rs937 pub fn tcgetpgrp(fd: ::c_int) -> pid_t; in tcgetpgrp() functions
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs3631 pub fn tcgetpgrp(fd: ::c_int) -> pid_t; in tcgetpgrp() functions
/third_party/python/Modules/
H A Dposixmodule.c9213 os.tcgetpgrp
9225 pid_t pgid = tcgetpgrp(fd); in os_tcgetpgrp_impl()

Completed in 47 milliseconds