[cs631apue] Question about the project

Jan Schaumann jschauma at stevens.edu
Fri Oct 11 21:44:46 EDT 2013


Tejas Nadkarni <tnadkarn at stevens.edu> wrote:
> Related to this the references in the man page that talk about default
> behavior for terminal and a program does that mean we detect what is
> calling our program and set default behavior?

Yes, but it's not a question of detecting what is "calling" your
program, but what stdout is connected to.  See isatty(3).

-Jan


More information about the cs631apue mailing list