26 #if ! defined (octave_oct_procbuf_h) 27 #define octave_oct_procbuf_h 1 29 #include "octave-config.h" 31 #include <sys/types.h> 62 bool is_open (
void)
const {
return open_p; }
64 pid_t
pid (
void)
const {
return proc_pid; }
int wait_status(void) const
Return the CPU time used by your Octave session The first output is the total time spent executing your process and is equal to the sum of second and third which are the number of CPU seconds spent executing in user mode and the number of CPU seconds spent executing in system mode
to define functions rather than attempting to enter them directly on the command line The block of commands is executed as soon as you exit the editor To avoid executing any simply delete all the lines from the buffer before leaving the editor When invoked with no edit the previously executed command
void symbols_of_oct_procbuf(void)
octave_procbuf(const char *command, int mode)