Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!laidbak!daveb From: daveb@laidbak.UUCP (Dave Burton) Newsgroups: comp.lang.c Subject: Re: system Keywords: fork and wait not for MSDOS Message-ID: <1317@laidbak.UUCP> Date: 23 Jan 88 17:50:00 GMT References: <127@dcrbg1.UUCP> <452@picuxa.UUCP> <3920@sigi.Colorado.EDU> Reply-To: daveb@laidbak.UUCP (Dave Burton) Organization: is pretty bad/My method of Lines: 15 In article <3920@sigi.Colorado.EDU> swarbric@tramp.Colorado.EDU writes: >Just curious, but what do fork() and wait() do? I have Turbo C, and it has >execlp(), but neither of the other two. Does it have something to do with >the fact that UNIX is multiuser, while MS-DOS is not? Close. Multitasking. Very basicly, fork() creates a new process and wait() waits for its completion. MSDOS does not have the capability of a fork(), so no wait() is needed. exec() overlays one process with another, which MSDOS can do. -- --------------------"Well, it looked good when I wrote it"--------------------- Verbal: Dave Burton Net: ...!ihnp4!laidbak!daveb V-MAIL: (312) 505-9100 x325 USSnail: 1901 N. Naper Blvd. #include Naperville, IL 60540