tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* is C's system() asynchronous?
@ 2000-06-12  5:02 Turgut Kalfaoglu
  0 siblings, 0 replies; only message in thread
From: Turgut Kalfaoglu @ 2000-06-12  5:02 UTC (permalink / raw)
  To: tru64-unix-managers

Is it true that OSF's C compiler creates system() calls that are
asynchronous? I wrote a simple program that does a system() call
at every iteration, and it seems that before the first system()
is over, the program is already several lines past the system() call!

If (yes) is there an easy way to make it synchronous, so the C program
waits for the completion of the system() call?

Thanks, -turgut

Turgut kalfaoglu
EgeNet:   http://www.egenet.com.tr
BBS-TURK: http://bbsturk.bbs.tr

Hiroshima '45, Chernobyl '86, Windows '95

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-12  5:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-12  5:02 is C's system() asynchronous? Turgut Kalfaoglu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox