>>62
process() 関数は、内部でどういう処理をしてるのかは不明で、また、コンパイル
して実行しても何も出力しません。この process() 関数にこだわる理由は何かあり
ますか。
とりあえず、関数の仮引数はそのままで、呼び出し元と関数の内部を次のように書き
換えてみてはどうですか。

------------------------------------------------------------
#include <stdio.h>

void process(unsigned char *tmpbuf, int xsize, int ysize);

int main(void)
{
/* unsigned char str1[1024]; */

/* process(str1, 6, 8); */
process("拡張子 .c でいいんじゃないか。", 6, 8);
return 0;
}

/* process(unsigned char *tmpbuf, int xsize, int ysize) */
/* だめです、先頭に void を付けましょう */
void process(unsigned char *tmpbuf, int xsize, int ysize)
{
printf("tmpbuf == \"%s\"\nxsize == %d\nysize == %d\n", tmpbuf, xsize, ysize);
}