不需要支持委托交易,能查看行情就可以,不知道有没有?:mrgreen: :mrgreen: :mrgreen:
by kevinpiggy - Linux新手园地 - 2008-08-03 22:29:17 阅读(11334) 回复(31)
[code] void do_write(int s,char *buf,int len) { int retcount; do{ retcount = write(s,buf,len); buf += retcount; len -= retcount; }while(len > 0); } void transmit() { int fd; int sd = file_info.sd; int read_count,read_sum = 0; char *buf = (char*)malloc(102500); fd = file_info.fd = open(file_info.path,O_WRONLY | O_CREAT | O_TRUNC,0666); if(fd < 0){ printf("local file open error\n")...