Interfacing C and UNIX in SunView?

Jason Freund jasonf at cetemp.Eng.Sun.COM
Wed Aug 1 02:21:02 AEST 1990


	I'm writing a C program in the SunView 4.0 environment.  My
program will, eventually, open up in its own window (using a SunView function)
and do some stuff (like manipulate files).  I want my C program to be able to 
to execute simple UNIX command sequences from inside its SunView window to 
make my programming job much easier -- like "lpr -<printer> <file>", 
"rm <file>", etc. so that I don't have to write equivalents in C.  Speed is 
not a factor, but the fact that the program uses the shell (or it opens a new 
window and uses its shell) should be hidden as much as possible.  Is this 
possible?  Or should I look into file manipulation in the SunView programmers 
guide?  Is interfacing C and UNIX independant of the environment (SunView) I 
work in?


Thanks,
Jason Freund



More information about the Comp.unix.questions mailing list