10 #include "sysconfig.h" 21 static int read_line(
int fd,
uchar *str)
30 DKPRINTF(0x01,
"(%02X)", *str);
68 fr = read_line(fd, cmd);
69 DKPRINTF(0x01,
"### %ld\n", fr);
77 DKPRINTF(0x01,
"###[%s]\n", cmd);
unsigned char uchar
GadgetSeedの文字(列)は unsigned char 型となる
int exec_batch(uchar *path)
バッチファイルを実行する
int close_file(int fd)
ファイルを閉じる
int exec_shell_command(struct st_shell *shell, uchar *str)
str文字列のコマンドを実行する
int open_file(const uchar *path, int flags)
ファイルを開く
t_ssize read_file(int fd, void *buf, t_size count)
ファイルからデータを読み出す
#define GSC_SHELL_MAX_LINE_COLUMS
$gsc shellコマンドラインの最大文字数