XINU
Functions
rflputc.c File Reference
#include <xinu.h>
Include dependency graph for rflputc.c:

Go to the source code of this file.

Functions

devcall rflputc (struct dentry *devptr, char ch)
 

Function Documentation

◆ rflputc()

devcall rflputc ( struct dentry devptr,
char  ch 
)

Definition at line 9 of file rflputc.c.

References OK, rflwrite(), and SYSERR.

13 {
14  if (rflwrite(devptr, &ch, 1) != 1) {
15  return SYSERR;
16  }
17 
18  return OK;
19 }
#define SYSERR
処理が失敗した場合
Definition: kernel.h:79
devcall rflwrite(struct dentry *, char *, int32)
Definition: rflwrite.c:9
#define OK
処理が成功した場合
Definition: kernel.h:77
Here is the call graph for this function: