For UNIX-like systems you want to play with the ECHO flag…
#include <termios.h>
...
struct termios t;
tcgetattr(fd, &t);
t.c_lflag &= ~ECHO;
tcsetattr(fd, TCSANOW, &t);
...
More Related Contents:
- How to pass arguments
- Why when I print it appears 80 for *str in decimal (letter P in ASCII)?
- Is there still room for optimization in this part of the code?
- read specific number of chars in c [closed]
- C – Trouble calling a function
- In c, read floats from one line, seperated by space [duplicate]
- Passing an array as an argument to a function in C
- What is the purpose of static keyword in array parameter of function like “char s[static 10]”?
- Threadsafe vs re-entrant
- What is this strange function definition syntax in C? [duplicate]
- How to sort an array of structs in C?
- How to printf a memory address in C
- Range of values in C Int and Long 32 – 64 bits
- What parts of this HelloWorld assembly code are essential if I were to write the program in assembly?
- Read from file or stdin
- Detecting 64bit compile in C
- Why is (sizeof(int) > -1) false? [duplicate]
- How do header and source files in C work?
- Why use bzero over memset?
- How to make backtrace()/backtrace_symbols() print the function names?
- Where do the values of uninitialized variables come from, in practice on real CPUs?
- What is the default encoding for C strings?
- GCC 4.7 Source Character Encoding and Execution Character Encoding For String Literals?
- How to split a C program into multiple files?
- How to use int16_t or int32_t with functions like scanf [duplicate]
- Winapi: Get the process which has specific handle of a file
- What does (void)var actually do?
- Is memset(&mystruct, 0, sizeof mystruct) same as mystruct = { 0 };?
- Creating an MPI_Datatype for a structure containing pointers
- passing a struct over TCP (SOCK_STREAM) socket in C