system man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

Digital UNIX Diffs - system(5)			Digital UNIX Diffs - system(5)

NAME
       system -	 Executes a shell command

LIBRARY
	Standard C Library (libc.a)

SYNOPSIS
       #include <stdio.h> #include <stdlib.h>

       int system (
	       const char ∗string );

PARAMETERS
       Specifies a valid shell command.

DIFFERENCES
       vms-system(5): OpenVMS Command Line Differences

       On  OpenVMS  the	 argument string must be a DCL command.	 On UNIX, this
       argument is sh(1) shell command.

       The return value of the function differs on the 2 system.  If the argu‐
       ment  string is null on OpenVMS, a 1 is returned.  On UNIX, this situa‐
       tion returns a 0 if the shell is	 inaccessible;	otherwise  a  positive
       value.

       A  successful  execution of the function returns an OpenVMS status code
       on OpenVMS.  UNIX returns a status in the form that wait(2) returns.

       vms-process(5): OpenVMS Process Model Differences

       On OpenVMS calling system(3) after a vfork(2)  but  before  the	corre‐
       sponding exec(2), will not work properly.  This works properly on UNIX.

RELATED INFORMATION
       Functions:  system(3), vfork(5)

CATEGORY INDEX
	vms-process(5), vms-system(5)

       delim off

						Digital UNIX Diffs - system(5)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net