21 req.rf_type =
htons(type);
22 req.rf_status =
htons(0);
25 while ( (*to++ = *name++) ) {
39 kprintf(
"Timeout during remote file server access\n");
41 }
else if (
ntohl(resp.rf_status) != 0) {
syscall kprintf(char *fmt,...)
ポーリングI/Oを使用して、フォーマットされた文字列をコンソールに出力する。
status rfsndmsg(uint16 type, char *name)
int32 rfscomm(struct rf_msg_hdr *, int32, struct rf_msg_hdr *, int32)
#define TIMEOUT
システムコールがタイムアウトした場合
int32 status
ステータスを意味する返り値の型(OK/SYSERR)
int int32
符号あり32ビット整数(int)
unsigned short uint16
符号なし16ビット整数(unsigned short)