home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!boulder!kinglear!crosby
- From: crosby@kinglear.cs.colorado.edu (CROSBY MATTHEW JAME)
- Subject: Help with re-directing stdout
- Message-ID: <1992Nov8.050457.14182@colorado.edu>
- Sender: news@colorado.edu (The Daily Planet)
- Nntp-Posting-Host: kinglear.cs.colorado.edu
- Organization: University of Colorado at Boulder
- Date: Sun, 8 Nov 1992 05:04:57 GMT
- Lines: 13
-
- I have writte a program that opens a pipe, forks and dup2's the input side of
- the pipe to stdout (file 1). I can write through the pipe fine by write(1,...)
- but I can't use any higher level commands--printf(), putchar(), etc. The data
- just seems to disapear... Am I screwing up somewhere?
- I have made sure the pipe buffers, etc etc...
-
- (If it is any help, I am using HP-SUX...er, HP-UX)
-
-
- --
- -Matt
- Mere anarchy is loosed upon the net!!!!
- mcrosby@nyx.cs.du.edu or crosby@cs.colorado.edu
-