46 msg.rf_status =
htons(0);
52 while ( (*to++ = *from++) ) {
58 while ( (*to++ = *from++) ) {
63 for (i=0; i<count; i++) {
83 kprintf(
"Timeout during remote file read\n");
86 }
else if (
ntohs(resp.rf_status) != 0) {
96 return ntohl(resp.rf_len);
syscall kprintf(char *fmt,...)
ポーリングI/Oを使用して、フォーマットされた文字列をコンソールに出力する。
int32 rfscomm(struct rf_msg_hdr *, int32, struct rf_msg_hdr *, int32)
devcall rflwrite(struct dentry *devptr, char *buff, int32 count)
#define TIMEOUT
システムコールがタイムアウトした場合
int int32
符号あり32ビット整数(int)
void * memset(void *, const int, int32)
指定のByteブロックに対して、同じ値をNバイト分書き込む。
syscall signal(sid32)
セマフォにシグナルを送り、待機プロセスがある場合は解除する。
int32 devcall
デバイスコール関数 返り値の型
#define NULLCH
NULL文字(NULL終端)