JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... ー (file descriptor) fd から最大 count バイトを buf で始まるバッファーへ読み込もうとする。 seek に対応しているファイルでは、read はファイルオフセットから行われ、ファイルオフセットは読み込んだバイト数分だけ進められる。ファイルオフセットがファイル末尾か ... それより先の場合は、読み出しは行われず、 read () は 0 を返す。 count が 0 の場合、 read () は以下で説明するエラーを検出する 場合がある 。 どのエラーもなかった場合、もし ... くは read () がエラーのチェックを行わない場合、 count が 0 で呼び出された read () は 0 を返し、何も行わない。 According to POSIX.1, ... ... FTS *fts_open(char * const * path_argv , int options , int (* compar )(const FTSENT **, const FTSENT **)); FTSENT *fts_read(FTS * ftsp ); FTSENT *fts_children(FTS * ftsp , int instr ); int fts_set(FTS * ftsp , FTSENT * f , int instr ); int fts_cl ... TS * ) that refers to a file hierarchy "stream". This handle is then supplied to the other fts functions. The function fts_read () returns a pointer to a structure describing one of the files in the file hierarchy. The function fts_children () return ... able. The FTSENT structure contains fields describing a file. The structure contains at least the following fields (there are additional fields that should be considered private to the implementation): typedef struct _ftsent { unsigned short fts_info ... ... FTS *fts_open(char * const * path_argv , int options , int (* compar )(const FTSENT **, const FTSENT **)); FTSENT *fts_read(FTS * ftsp ); FTSENT *fts_children(FTS * ftsp , int instr ); int fts_set(FTS * ftsp , FTSENT * f , int instr ); int fts_cl ... TS * ) that refers to a file hierarchy "stream". This handle is then supplied to the other fts functions. The function fts_read () returns a pointer to a structure describing one of the files in the file hierarchy. The function fts_children () return ... able. The FTSENT structure contains fields describing a file. The structure contains at least the following fields (there are additional fields that should be considered private to the implementation): typedef struct _ftsent { unsigned short fts_info ... ... FTS *fts_open(char * const * path_argv , int options , int (* compar )(const FTSENT **, const FTSENT **)); FTSENT *fts_read(FTS * ftsp ); FTSENT *fts_children(FTS * ftsp , int instr ); int fts_set(FTS * ftsp , FTSENT * f , int instr ); int fts_cl ... TS * ) that refers to a file hierarchy "stream". This handle is then supplied to the other fts functions. The function fts_read () returns a pointer to a structure describing one of the files in the file hierarchy. The function fts_children () return ... able. The FTSENT structure contains fields describing a file. The structure contains at least the following fields (there are additional fields that should be considered private to the implementation): typedef struct _ftsent { unsigned short fts_info ... ... FTS *fts_open(char * const * path_argv , int options , int (* compar )(const FTSENT **, const FTSENT **)); FTSENT *fts_read(FTS * ftsp ); FTSENT *fts_children(FTS * ftsp , int instr ); int fts_set(FTS * ftsp , FTSENT * f , int instr ); int fts_cl ... TS * ) that refers to a file hierarchy "stream". This handle is then supplied to the other fts functions. The function fts_read () returns a pointer to a structure describing one of the files in the file hierarchy. The function fts_children () return ... able. The FTSENT structure contains fields describing a file. The structure contains at least the following fields (there are additional fields that should be considered private to the implementation): typedef struct _ftsent { unsigned short fts_info ... ... FTS *fts_open(char * const * path_argv , int options , int (* compar )(const FTSENT **, const FTSENT **)); FTSENT *fts_read(FTS * ftsp ); FTSENT *fts_children(FTS * ftsp , int instr ); int fts_set(FTS * ftsp , FTSENT * f , int instr ); int fts_cl ... TS * ) that refers to a file hierarchy "stream". This handle is then supplied to the other fts functions. The function fts_read () returns a pointer to a structure describing one of the files in the file hierarchy. The function fts_children () return ... able. The FTSENT structure contains fields describing a file. The structure contains at least the following fields (there are additional fields that should be considered private to the implementation): typedef struct _ftsent { unsigned short fts_info ... ... FTS *fts_open(char * const * path_argv , int options , int (* compar )(const FTSENT **, const FTSENT **)); FTSENT *fts_read(FTS * ftsp ); FTSENT *fts_children(FTS * ftsp , int instr ); int fts_set(FTS * ftsp , FTSENT * f , int instr ); int fts_cl ... TS * ) that refers to a file hierarchy "stream". This handle is then supplied to the other fts functions. The function fts_read () returns a pointer to a structure describing one of the files in the file hierarchy. The function fts_children () return ... able. The FTSENT structure contains fields describing a file. The structure contains at least the following fields (there are additional fields that should be considered private to the implementation): typedef struct _ftsent { unsigned short fts_info ... ... あり、0 を指定しなければならない。 The following operations can be performed on the file descriptor returned by eventfd (): read (2) read (2) は成功すると、8 バイトの整数を返す。 渡されたバッファーの大きさが 8 バイト未満の場合、 read (2) はエラー EINV ... AL で失敗する。 read (2) が返す値は、ホストバイトオーダ、つまり、そのホストマシンにおける整数の通常のバイトオーダである。 read (2) の動作は、 e ... MAPHORE フラグが指定されたか、により変化する。 * EFD_SEMAPHORE が指定されておらず、eventfd カウンターが 0 以外の値の場合、 read (2) はカウンター値を格納した 8 バイトの値を返し、 カウンター値は 0 にリセットされる。 * EFD_SEMAPHORE が指定されていて eve ... ... あり、0 を指定しなければならない。 The following operations can be performed on the file descriptor returned by eventfd (): read (2) read (2) は成功すると、8 バイトの整数を返す。 渡されたバッファーの大きさが 8 バイト未満の場合、 read (2) はエラー EINV ... AL で失敗する。 read (2) が返す値は、ホストバイトオーダ、つまり、そのホストマシンにおける整数の通常のバイトオーダである。 read (2) の動作は、 e ... MAPHORE フラグが指定されたか、により変化する。 * EFD_SEMAPHORE が指定されておらず、eventfd カウンターが 0 以外の値の場合、 read (2) はカウンター値を格納した 8 バイトの値を返し、 カウンター値は 0 にリセットされる。 * EFD_SEMAPHORE が指定されていて eve ... ... あり、0 を指定しなければならない。 The following operations can be performed on the file descriptor returned by eventfd (): read (2) read (2) は成功すると、8 バイトの整数を返す。 渡されたバッファーの大きさが 8 バイト未満の場合、 read (2) はエラー EINV ... AL で失敗する。 read (2) が返す値は、ホストバイトオーダ、つまり、そのホストマシンにおける整数の通常のバイトオーダである。 read (2) の動作は、 e ... MAPHORE フラグが指定されたか、により変化する。 * EFD_SEMAPHORE が指定されておらず、eventfd カウンターが 0 以外の値の場合、 read (2) はカウンター値を格納した 8 バイトの値を返し、 カウンター値は 0 にリセットされる。 * EFD_SEMAPHORE が指定されていて eve ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。