#include "IO.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/wait.h>
Go to the source code of this file.
|
| static char ** | parse_argv (const char *cmd, int *argc) |
| static void | free_argv (char **argv) |
| void | c_print_stdout (const char *s, int64_t len) |
| | Native print function.
|
| void | c_print_stderr (const char *s, int64_t len) |
| | Native print error function.
|
| int64_t | c_system (const char *cmd) |
| | CRT system call.
|
| char * | c_system_out (const char *cmd) |
| | CRT system call, get out.
|
| char * | c_system_err (const char *cmd) |
| | CRT system call, get err.
|
◆ c_print_stderr()
| void c_print_stderr |
( |
const char * | s, |
|
|
int64_t | len ) |
Native print error function.
Definition at line 105 of file IO.c.
◆ c_print_stdout()
| void c_print_stdout |
( |
const char * | s, |
|
|
int64_t | len ) |
Native print function.
Definition at line 100 of file IO.c.
◆ c_system()
| int64_t c_system |
( |
const char * | cmd | ) |
|
CRT system call.
Definition at line 110 of file IO.c.
◆ c_system_err()
| char * c_system_err |
( |
const char * | cmd | ) |
|
CRT system call, get err.
Definition at line 240 of file IO.c.
◆ c_system_out()
| char * c_system_out |
( |
const char * | cmd | ) |
|
CRT system call, get out.
Definition at line 115 of file IO.c.
◆ free_argv()
| void free_argv |
( |
char ** | argv | ) |
|
|
static |
Definition at line 91 of file IO.c.
◆ parse_argv()
| char ** parse_argv |
( |
const char * | cmd, |
|
|
int * | argc ) |
|
static |
Definition at line 12 of file IO.c.