just curious!
Hello all
I was curious to know how the "write" command works.Any IPCs used?
thanks
suma
Quoted 5 lines · Suma Choudhary
Hello all
I was curious to know how the "write" command works.Any IPCs used?thanks
suma
*Use the force^source Luke*
you can play with strace and ltrace too
the manpage also helps.
Signature · 6 lines
David Eduardo Gómez Noguera <[email protected]> - To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · Suma Choudhary
I was curious to know how the "write" command works.Any IPCs used?
It determines the terminal(s) on which the specified user is logged in from the utmp file, opens the terminal device for writing, and writes to it.
Note that the terminal device must be group-writeable (normally controlled using "mesg y" or "mesg n"). The write command itself is setgid tty.
Signature · 1 line
Glynn Clements <[email protected]>