You are not logged in.
I'm trying to block user input from appearing on a screen I am presenting to them. I came across a command called 'stty'.
This is what I get from `man stty`:
UNIMPLEMENTED(2) System Calls Manual UNIMPLEMENTED(2)
NAME
afs_syscall, break, fattach, fdetach, ftime, getmsg, getpmsg, gtty, isastream, lock, madvise1, mpx, prof, profil, putmsg, putpmsg, security, stty,
tuxcall, ulimit, vserver - unimplemented system calls
SYNOPSIS
Unimplemented system calls.
DESCRIPTION
These system calls are not implemented in the Linux kernel.
RETURN VALUE
These system calls always return -1 and set errno to ENOSYS.
NOTES
Note that ftime(3), profil(3), and ulimit(3) are implemented as library functions.
Some system calls, like alloc_hugepages(2), free_hugepages(2), ioperm(2), iopl(2), and vm86(2) exist only on certain architectures.
Some system calls, like ipc(2), create_module(2), init_module(2), and delete_module(2) exist only when the Linux kernel was built with support for
them.
SEE ALSO
syscalls(2)
Linux man-pages 6.05.01 2022-10-09 UNIMPLEMENTED(2)
Manual page stty(2) line 1/28 (END) (press h for help or q to quit)It says:
These system calls always return -1 and set errno to ENOSYS.
But the command runs and has no problem with my needed option `-echo`. Seems like it's implemented. Where can I get a local copy of the man page? Or should I take this as it is being deprecated? When used properly, it never returns -1.
Last edited by Mantoba (2024-01-31 20:21:53)
Offline
https://man.archlinux.org/man/core/coreutils/stty.1.en
man 1 sttyYou're looking at the wrong category, https://man.archlinux.org/man/syscalls.2.en
Offline
Ty
Offline