|
XINU
|
文字列をデバイス(ファイル)に書き込む。 More...
Go to the source code of this file.
Functions | |
| int | fputs (char *s, int dev) |
| 文字列をデバイス(ファイル)に書き込む。 More... | |
| int | putc (int, char) |
| 文字を書き込むputc()のextern宣言 More... | |
文字列をデバイス(ファイル)に書き込む。
Definition in file fputs.c.
| int fputs | ( | char * | s, |
| int | dev | ||
| ) |
| int putc | ( | did32 | descrp, |
| char | ch | ||
| ) |
文字を書き込むputc()のextern宣言
文字を書き込むputc()のextern宣言
Step1. 割り込みを禁止する。
Step2. デバイスディスクリプタが不正値の場合は、割り込み状態を復元し、処理を終了する。
Step3. デバイスに応じたputc()処理を行う。
Step4. 割り込み状態を復元する。
| [in] | descrp | デバイスディスクリプタ |
| [in] | ch | 送信したい文字 |
Definition at line 18 of file putc.c.
References devtab, disable(), dentry::dvputc, isbaddev, restore(), and SYSERR.
Referenced by fputs().


1.8.13