🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3894

Re: Is system() standard?

#3894
From: Ian Cargill
Date: Thu, 31 Aug 1995 18:50
18 lines
1168 bytes
In article <424mur$c9h@pyrrhus-f.hrz.tu-chemnitz.de> hfst@hrz.tu-chemnitz.de writes:

>Is system() part of the ISO C standard?
>

 int system(const char *string)

is a standard function defined in stdlib.h.

There is no requirement that it actually do anything, though.  If 
you want to know if the environment has a command-line processor 
capable of executing 'string', call system(NULL).  If it returns 
non-zero, the command-line processor is available.

-- 
============================================================================
 Ian Cargill  CEng MIEE  | Find out about the Association of C and C++ Users
 Soliton Software Ltd.   | info@accu.org OR  http://bach.cis.temple.edu/accu
Technical Details
Message-ID: <809895037snz@soliton.demon.co.uk>
Path: arc1-ca.pugleaf.net!mail2news.demon.co.uk!soliton.demon.co.uk
References: <424mur$c9h@pyrrhus-f.hrz.tu-chemnitz.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!mail2news.demon.co.uk!soliton.demon.co.uk
From: Ian Cargill <ian@soliton.demon.co.uk>
Newsgroups: comp.std.c
Subject: Re: Is system() standard? 
Date: Thu, 31 Aug 95 18:50:37 GMT
Organization: Soliton Software Ltd.
Message-ID: <809895037snz@soliton.demon.co.uk>
References: <424mur$c9h@pyrrhus-f.hrz.tu-chemnitz.de>
Reply-To: ian@soliton.demon.co.uk
X-NNTP-Posting-Host: soliton.demon.co.uk
X-Newsreader: Simple NEWS 2.0 (ka9q DIS 1.24)