linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Glynn Clements <glynn@gclements.plus.com>
To: Suma Choudhary <sumac@myw.ltindia.com>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: just curious!
Date: Sat, 8 Oct 2005 08:17:18 +0100	[thread overview]
Message-ID: <17223.29310.783504.657650@cerise.gclements.plus.com> (raw)
In-Reply-To: <s34561c8.010@EMAIL>


Suma Choudhary wrote:

> 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.

-- 
Glynn Clements <glynn@gclements.plus.com>

  parent reply	other threads:[~2005-10-08  7:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-06 12:11 just curious! Suma Choudhary
2005-10-06 12:41 ` David Eduardo Gómez Noguera
2005-10-08  7:17 ` Glynn Clements [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-10-10  2:25 Suma Choudhary

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17223.29310.783504.657650@cerise.gclements.plus.com \
    --to=glynn@gclements.plus.com \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=sumac@myw.ltindia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).