47 for (i=0; i<strlen((
const char*)com.
buf); i++) {
48 if (com.
buf[i]>=
'a' && com.
buf[i]<=
'z') com.
buf[i] += -
'a' +
'A';
94 for(i=0, j=0; j<2; j++) {
95 while (
buf[i]!=
'\0' &&
buf[i]!=
' ') i++;
96 while (
buf[i]!=
'\0' &&
buf[i]==
' ') i++;
100 while (
buf[i]!=
'\0') i++;
106 for (i=0; i<cnt; i++) com.
buf[i] =
buf[pos+i];
Buffer make_Buffer(int sz)
Buffer型変数のバッファ部をつくり出す.
Buffer cawk_Buffer(Buffer str, char cc, int n)
Buffer文字列に対する(変形の)awk.
Buffer get_comment(Buffer msg)
Buffer get_operand(Buffer msg)
Buffer get_command(Buffer msg)
int vldsz
データの長さ.バイナリデータの場合も使用可能.文字列の場合は 0x00 を含まない.
unsigned char * buf
バッファの先頭へのポインタ.str[bufsz]は必ず 0x00となる.