comparison doc/interpreter/system.txi @ 4167:aae05d51353c

[project @ 2002-11-12 02:52:50 by jwe]
author jwe
date Tue, 12 Nov 2002 02:52:51 +0000
parents 9a77deefb8c9
children d5667eaf8859
comparison
equal deleted inserted replaced
4166:1297e388830f 4167:aae05d51353c
1 @c Copyright (C) 1996, 1997 John W. Eaton 1 @c Copyright (C) 1996, 1997 John W. Eaton
2 @c This is part of the Octave manual. 2 @c This is part of the Octave manual.
3 @c For copying conditions, see the file gpl.texi. 3 @c For copying conditions, see the file gpl.texi.
4 4
5 @node System Utilities, Tips, Quaternions, Top 5 @node System Utilities
6 @chapter System Utilities 6 @chapter System Utilities
7 7
8 This chapter describes the functions that are available to allow you to 8 This chapter describes the functions that are available to allow you to
9 get information about what is happening outside of Octave, while it is 9 get information about what is happening outside of Octave, while it is
10 still running, and use this information in your program. For example, 10 still running, and use this information in your program. For example,
21 * Password Database Functions:: 21 * Password Database Functions::
22 * Group Database Functions:: 22 * Group Database Functions::
23 * System Information:: 23 * System Information::
24 @end menu 24 @end menu
25 25
26 @node Timing Utilities, Filesystem Utilities, System Utilities, System Utilities 26 @node Timing Utilities
27 @section Timing Utilities 27 @section Timing Utilities
28 28
29 Octave's core set of functions for manipulating time values are 29 Octave's core set of functions for manipulating time values are
30 patterned after the corresponding functions from the standard C library. 30 patterned after the corresponding functions from the standard C library.
31 Several of these functions use a data structure for time that includes 31 Several of these functions use a data structure for time that includes
106 106
107 @DOCSTRING(sleep) 107 @DOCSTRING(sleep)
108 108
109 @DOCSTRING(usleep) 109 @DOCSTRING(usleep)
110 110
111 @node Filesystem Utilities, Controlling Subprocesses, Timing Utilities, System Utilities 111 @node Filesystem Utilities
112 @section Filesystem Utilities 112 @section Filesystem Utilities
113 113
114 Octave includes the following functions for renaming and deleting files, 114 Octave includes the following functions for renaming and deleting files,
115 creating, deleting, and reading directories, and for getting information 115 creating, deleting, and reading directories, and for getting information
116 about the status of files. 116 about the status of files.
141 141
142 @DOCSTRING(file_in_path) 142 @DOCSTRING(file_in_path)
143 143
144 @DOCSTRING(tilde_expand) 144 @DOCSTRING(tilde_expand)
145 145
146 @node Controlling Subprocesses, Process ID Information, Filesystem Utilities, System Utilities 146 @node Controlling Subprocesses
147 @section Controlling Subprocesses 147 @section Controlling Subprocesses
148 148
149 Octave includes some high-level commands like @code{system} and 149 Octave includes some high-level commands like @code{system} and
150 @code{popen} for starting subprocesses. If you want to run another 150 @code{popen} for starting subprocesses. If you want to run another
151 program to perform some task and then look at its output, you will 151 program to perform some task and then look at its output, you will
180 180
181 @DOCSTRING(waitpid) 181 @DOCSTRING(waitpid)
182 182
183 @DOCSTRING(fcntl) 183 @DOCSTRING(fcntl)
184 184
185 @node Process ID Information, Environment Variables, Controlling Subprocesses, System Utilities 185 @node Process ID Information
186 @section Process, Group, and User IDs 186 @section Process, Group, and User IDs
187 187
188 @DOCSTRING(getpgrp) 188 @DOCSTRING(getpgrp)
189 189
190 @DOCSTRING(getpid) 190 @DOCSTRING(getpid)
197 197
198 @DOCSTRING(getegid) 198 @DOCSTRING(getegid)
199 199
200 @DOCSTRING(getgid) 200 @DOCSTRING(getgid)
201 201
202 @node Environment Variables, Current Working Directory, Process ID Information, System Utilities 202 @node Environment Variables
203 @section Environment Variables 203 @section Environment Variables
204 204
205 @DOCSTRING(getenv) 205 @DOCSTRING(getenv)
206 206
207 @DOCSTRING(putenv) 207 @DOCSTRING(putenv)
208 208
209 @node Current Working Directory, Password Database Functions, Environment Variables, System Utilities 209 @node Current Working Directory
210 @section Current Working Directory 210 @section Current Working Directory
211 211
212 @DOCSTRING(cd) 212 @DOCSTRING(cd)
213 213
214 @DOCSTRING(ls) 214 @DOCSTRING(ls)
215 215
216 @DOCSTRING(pwd) 216 @DOCSTRING(pwd)
217 217
218 @node Password Database Functions, Group Database Functions, Current Working Directory, System Utilities 218 @node Password Database Functions
219 @section Password Database Functions 219 @section Password Database Functions
220 220
221 Octave's password database functions return information in a structure 221 Octave's password database functions return information in a structure
222 with the following fields. 222 with the following fields.
223 223
255 255
256 @DOCSTRING(setpwent) 256 @DOCSTRING(setpwent)
257 257
258 @DOCSTRING(endpwent) 258 @DOCSTRING(endpwent)
259 259
260 @node Group Database Functions, System Information, Password Database Functions, System Utilities 260 @node Group Database Functions
261 @section Group Database Functions 261 @section Group Database Functions
262 262
263 Octave's group database functions return information in a structure 263 Octave's group database functions return information in a structure
264 with the following fields. 264 with the following fields.
265 265
288 288
289 @DOCSTRING(setgrent) 289 @DOCSTRING(setgrent)
290 290
291 @DOCSTRING(endgrent) 291 @DOCSTRING(endgrent)
292 292
293 @node System Information, , Group Database Functions, System Utilities 293 @node System Information
294 @section System Information 294 @section System Information
295 295
296 @DOCSTRING(computer) 296 @DOCSTRING(computer)
297 297
298 @DOCSTRING(isieee) 298 @DOCSTRING(isieee)