system

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Issue a shell command

Arguments and Return Values

Arguments: A string

Return Value: Depends.

Usage

Syntax: system(command)

The system() function executes the specified command string using the C library system() call, and returns when the command exits.

The system() function returns the value of the underlying C system call and its interpretation is OS dependant.

Examples

dv> ret = system("pwd")
/work/themis/library/wiki
0

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 07-06-2009

Personal tools