You are not logged in.

#1 2024-01-31 19:57:15

Mantoba
Member
Registered: 2024-01-21
Posts: 17

[SOLVED] `man stty` says it's 'Unimplemented'.

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

#2 2024-01-31 20:16:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,034

Offline

#3 2024-01-31 20:21:08

Mantoba
Member
Registered: 2024-01-21
Posts: 17

Re: [SOLVED] `man stty` says it's 'Unimplemented'.

Ty

Offline

Board footer

Powered by FluxBB