38 msg->rf_seq =
htonl(seq);
49 kprintf(
"Cannot send to remote file server\n");
60 }
else if (retval ==
SYSERR) {
61 kprintf(
"Error reading remote file reply\n");
67 if (
ntohl(reply->rf_seq) != seq) {
73 rtype =
ntohs(reply->rf_type);
83 kprintf(
"Timeout on exchange with remote file server\n");
syscall kprintf(char *fmt,...)
ポーリングI/Oを使用して、フォーマットされた文字列をコンソールに出力する。
int32 udp_recv(uid32, char *, int32, uint32)
status udp_send(uid32, char *, int32)
#define TIMEOUT
システムコールがタイムアウトした場合
#define TRUE
Boolean True(1)
int32 rfscomm(struct rf_msg_hdr *msg, int32 mlen, struct rf_msg_hdr *reply, int32 rlen)
short int16
符号あり16ビット整数(short)
int int32
符号あり32ビット整数(int)
uid32 udp_register(uint32, uint16, uint16)