Linux Terminal Input/Output C program -


i having doubts linux terminal output's

in c program made

printf("write message");  fgets(buffer,bufsiz,stdin); 

which waits message typed keyboard have threads on background give ouptut, posible output message's in terminal during input? without messing out inserted words.

cause on server, , can write commands in server

if threads print terminal, output show on screen , mess there. if wait keypress , in meantime threads printing, message may dissapear.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -