Aply following fixes to the FREEBSD EXTRA WORDS section

o Remove duplicated "fopen" entry
 o Replace "heap" with "heap? (-- cells)"
 o sort entires according to the English manual page

Submitted by:	Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
This commit is contained in:
Kazuo Horikawa 2004-01-12 02:05:26 +00:00
parent 66ae5fd84b
commit f192aebc98
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=19601

View file

@ -650,6 +650,14 @@ This is the STRING word set's
.It Ic .#
.Ic .
と同様に動作しますが、後続の空白を表示しません。
.It Ic fclose Pq Ar fd --
ファイルをクローズします。
.It Ic fkey Pq Ar fd -- char
ファイルから 1 文字読み込みます。
.It Ic fload Pq Ar fd --
ファイル
.Em fd
を処理します。
.It Ic fopen Pq Ar addr len mode Li -- Ar fd
ファイルをオープンします。ファイル記述子を返します。
失敗時には \-1 を返します。
@ -662,17 +670,6 @@ This is the STRING word set's
.Pa /boot/support.4th
で定義され、それぞれ読み込み専用、書き込み専用、読み書きを示します。
.It Ic fclose Pq Ar fd --
ファイルをクローズします。
.It Ic fkey Pq Ar fd -- char
ファイルから 1 文字読み込みます。
.It Ic fload Pq Ar fd --
ファイル
.Em fd
を処理します。
.It Ic fopen Pq Ar addr len -- fd
ファイルをオープンします。
ファイル記述子を返すか、失敗時には -1 を返します。
.It Xo
.Ic fread
.Pq Ar fd addr len -- len'
@ -686,7 +683,7 @@ This is the STRING word set's
へ読み込もうとします。
実際に読み込んだバイト数を返します。
エラー時またはファイルの終了の場合には -1 を返します。
.It Ic heap
.It Ic heap? Pq -- Ar cells
ディレクトリヒープ中に残された空間を、セル数の単位で返します。
これは、動的なメモリ割り当ての意味で使われるヒープとは無関係です。
.It Ic inb Pq Ar port -- char