JM Project

JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 15 for whence (0.002 sec.)
Man page of LSEEK64 11181
LSEEK64 Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 lseek64 - ファイルの 64 ビットの読み書きオフセットの位置を変える 書式 #define _LARGEFILE64_SOURCE /* feature_test_macros (7) 参照 */ #include < sys/t ... ypes.h > #include < unistd.h > off64_t lseek64(int fd , off64_t offset , int whence ); 説明 lseek () 関数ファミリーは、ファイルディスクリプター fd に関連するオープンされたファイルのオフセットを、 ファイルの ... 開始位置・現在位置・終端から offset の位置へ変更する。 これは whence がそれぞれ SEEK_SET , SEEK_CUR , SEEK_END の場合に対応する。 更に詳しい説明・返り値・エラーは、 lseek (2) を参照すること。 ... スが使用可能である: lseek (), lseek64 (), llseek (), llseek () lseek() プロトタイプ: off_t lseek(int fd , off_t offset , int whence ); The C library's lseek () wrapper function uses the type off_t . This is a 32-bit signed type on 32-bit architectures, u ...
https://man.mtool.work/man/20260915/man3/lseek64.3.html
Man page of FSEEK 10170
FSEEK Section: Linux Programmer's Manual (3) Updated: 2018-04-30 Index JM Home Page 名前 fgetpos, fseek, fsetpos, ftell, rewind - ストリームの位置を変更する 書式 #include < stdio.h > int fseek(FILE * stream , long offset , int whence ); lon ... によって指定されたストリームにおいて、ファイル位置表示子 (file position indicator) をセットする。新たな位置 (バイト単位) は whence で指定された位置に offset バイトを加えることによって与えられる。 whence が SEEK_SET , SEEK_CUR , SEEK_END のどれかになって ... ator) も同時に クリアされる ( clearerr (3) を見よ)。 fgetpos () 関数と fsetpos () 関数は、それぞれ ftell () と fseek () で whence に SEEK_SET を指定した場合と同様の機能を、異なるインターフェースで提供する。 fgetpos () はファイルオフセットの現在の値を p ... を返す。失敗した場合は返り値は -1 となり、 errno にエラーを示す値がセットされる。 エラー EINVAL fseek () 関数に対して与えた whence 引数が SEEK_SET , SEEK_END , SEEK_CUR 以外の値であった。 または、更新後のファイルオフセットが負になってしまう。 ESPIPE The ...
https://man.mtool.work/man/20260915/man3/fgetpos.3.html
Man page of FSEEK 10170
FSEEK Section: Linux Programmer's Manual (3) Updated: 2018-04-30 Index JM Home Page 名前 fgetpos, fseek, fsetpos, ftell, rewind - ストリームの位置を変更する 書式 #include < stdio.h > int fseek(FILE * stream , long offset , int whence ); lon ... によって指定されたストリームにおいて、ファイル位置表示子 (file position indicator) をセットする。新たな位置 (バイト単位) は whence で指定された位置に offset バイトを加えることによって与えられる。 whence が SEEK_SET , SEEK_CUR , SEEK_END のどれかになって ... ator) も同時に クリアされる ( clearerr (3) を見よ)。 fgetpos () 関数と fsetpos () 関数は、それぞれ ftell () と fseek () で whence に SEEK_SET を指定した場合と同様の機能を、異なるインターフェースで提供する。 fgetpos () はファイルオフセットの現在の値を p ... を返す。失敗した場合は返り値は -1 となり、 errno にエラーを示す値がセットされる。 エラー EINVAL fseek () 関数に対して与えた whence 引数が SEEK_SET , SEEK_END , SEEK_CUR 以外の値であった。 または、更新後のファイルオフセットが負になってしまう。 ESPIPE The ...
https://man.mtool.work/man/20260915/man3/fseek.3.html
Man page of FSEEK 10170
FSEEK Section: Linux Programmer's Manual (3) Updated: 2018-04-30 Index JM Home Page 名前 fgetpos, fseek, fsetpos, ftell, rewind - ストリームの位置を変更する 書式 #include < stdio.h > int fseek(FILE * stream , long offset , int whence ); lon ... によって指定されたストリームにおいて、ファイル位置表示子 (file position indicator) をセットする。新たな位置 (バイト単位) は whence で指定された位置に offset バイトを加えることによって与えられる。 whence が SEEK_SET , SEEK_CUR , SEEK_END のどれかになって ... ator) も同時に クリアされる ( clearerr (3) を見よ)。 fgetpos () 関数と fsetpos () 関数は、それぞれ ftell () と fseek () で whence に SEEK_SET を指定した場合と同様の機能を、異なるインターフェースで提供する。 fgetpos () はファイルオフセットの現在の値を p ... を返す。失敗した場合は返り値は -1 となり、 errno にエラーを示す値がセットされる。 エラー EINVAL fseek () 関数に対して与えた whence 引数が SEEK_SET , SEEK_END , SEEK_CUR 以外の値であった。 または、更新後のファイルオフセットが負になってしまう。 ESPIPE The ...
https://man.mtool.work/man/20260915/man3/fsetpos.3.html
Man page of FSEEK 10170
FSEEK Section: Linux Programmer's Manual (3) Updated: 2018-04-30 Index JM Home Page 名前 fgetpos, fseek, fsetpos, ftell, rewind - ストリームの位置を変更する 書式 #include < stdio.h > int fseek(FILE * stream , long offset , int whence ); lon ... によって指定されたストリームにおいて、ファイル位置表示子 (file position indicator) をセットする。新たな位置 (バイト単位) は whence で指定された位置に offset バイトを加えることによって与えられる。 whence が SEEK_SET , SEEK_CUR , SEEK_END のどれかになって ... ator) も同時に クリアされる ( clearerr (3) を見よ)。 fgetpos () 関数と fsetpos () 関数は、それぞれ ftell () と fseek () で whence に SEEK_SET を指定した場合と同様の機能を、異なるインターフェースで提供する。 fgetpos () はファイルオフセットの現在の値を p ... を返す。失敗した場合は返り値は -1 となり、 errno にエラーを示す値がセットされる。 エラー EINVAL fseek () 関数に対して与えた whence 引数が SEEK_SET , SEEK_END , SEEK_CUR 以外の値であった。 または、更新後のファイルオフセットが負になってしまう。 ESPIPE The ...
https://man.mtool.work/man/20260915/man3/ftell.3.html
Man page of FSEEK 10170
FSEEK Section: Linux Programmer's Manual (3) Updated: 2018-04-30 Index JM Home Page 名前 fgetpos, fseek, fsetpos, ftell, rewind - ストリームの位置を変更する 書式 #include < stdio.h > int fseek(FILE * stream , long offset , int whence ); lon ... によって指定されたストリームにおいて、ファイル位置表示子 (file position indicator) をセットする。新たな位置 (バイト単位) は whence で指定された位置に offset バイトを加えることによって与えられる。 whence が SEEK_SET , SEEK_CUR , SEEK_END のどれかになって ... ator) も同時に クリアされる ( clearerr (3) を見よ)。 fgetpos () 関数と fsetpos () 関数は、それぞれ ftell () と fseek () で whence に SEEK_SET を指定した場合と同様の機能を、異なるインターフェースで提供する。 fgetpos () はファイルオフセットの現在の値を p ... を返す。失敗した場合は返り値は -1 となり、 errno にエラーを示す値がセットされる。 エラー EINVAL fseek () 関数に対して与えた whence 引数が SEEK_SET , SEEK_END , SEEK_CUR 以外の値であった。 または、更新後のファイルオフセットが負になってしまう。 ESPIPE The ...
https://man.mtool.work/man/20260915/man3/rewind.3.html
Man page of LSEEK 9648
LSEEK Section: Linux Programmer's Manual (2) Updated: 2020-08-13 Index JM Home Page 名前 lseek - ファイルの読み書きオフセットの位置を変える 書式 #include < sys/types.h > #include < unistd.h > off_t lseek(int fd , off_t offset , int whence ) ... fset of the open file description associated with the file descriptor fd to the argument offset according to the directive whence as follows: SEEK_SET ファイルオフセットは offset バイトに設定される。 SEEK_CUR ファイルオフセットは現在位置に offset バイト ... データを書き込まれるまではヌルバイト ('\0') の列が返される。 ファイルのデータとホールの探索 Linux バージョン 3.1 以降では、 whence に以下の値も指定することができる。 SEEK_DATA ファイルオフセットを offset 以上で次にデータがある位置に設定する。 offset がデ ... (off_t) -1 が返され、 errno にエラーが指示される。 エラー EBADF fd がオープンされたファイルディスクリプターでない。 EINVAL whence が有効な値ではない。または、seek の結果、ファイルオフセットが負に なってしまうか、 seek 可能なデバイスの末尾を越えてしまう ...
https://man.mtool.work/man/20260915/man2/lseek.2.html
Man page of LLSEEK 8969
LLSEEK Section: Linux Programmer's Manual (2) Updated: 2020-12-21 Index JM Home Page 名前 _llseek - ファイルの読み書きオフセットの位置を変える 書式 #include < sys/types.h > #include < unistd.h > int _llseek(unsigned int fd , unsigned long o ... ffset_high , unsigned long offset_low , loff_t * result , unsigned int whence ); 注 : このシステムコールには glibc のラッパー関数は存在しない。「注意」の節を参照。 説明 Note: for information about the ... a byte offset relative to the beginning of the file, the current file offset, or the end of the file, depending on whether whence is SEEK_SET , SEEK_CUR , or SEEK_END , respectively. The new file offset is returned in the argument result . The type lof ... EBADF fd がオープンされたファイルディスクリプターでない。 EFAULT 結果をユーザー空間にコピーするときに問題があった。 EINVAL whence が不正である。 準拠 この関数は Linux 特有であり、移植性の必要なプログラムでは使用してはいけない。 注意 Glibc does not prov ...
https://man.mtool.work/man/20260915/man2/_llseek.2.html
Man page of LLSEEK 8969
LLSEEK Section: Linux Programmer's Manual (2) Updated: 2020-12-21 Index JM Home Page 名前 _llseek - ファイルの読み書きオフセットの位置を変える 書式 #include < sys/types.h > #include < unistd.h > int _llseek(unsigned int fd , unsigned long o ... ffset_high , unsigned long offset_low , loff_t * result , unsigned int whence ); 注 : このシステムコールには glibc のラッパー関数は存在しない。「注意」の節を参照。 説明 Note: for information about the ... a byte offset relative to the beginning of the file, the current file offset, or the end of the file, depending on whether whence is SEEK_SET , SEEK_CUR , or SEEK_END , respectively. The new file offset is returned in the argument result . The type lof ... EBADF fd がオープンされたファイルディスクリプターでない。 EFAULT 結果をユーザー空間にコピーするときに問題があった。 EINVAL whence が不正である。 準拠 この関数は Linux 特有であり、移植性の必要なプログラムでは使用してはいけない。 注意 Glibc does not prov ...
https://man.mtool.work/man/20260915/man2/llseek.2.html
Man page of FOPENCOOKIE 8464
FOPENCOOKIE Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 fopencookie - 独自のストリームをオープンする 書式 #define _GNU_SOURCE /* feature_test_macros (7) 参照 */ #include < stdio.h > FILE *fopencookie(v ... ストリームに対する seek 操作を実装する。 呼び出される際、 3 つの引数を受け取る。 int seek(void *cookie, off64_t *offset, int whence); *offset 引数は新しいファイルオフセットを指定する。 新しいオフセットは whence に以下の値のどれが指定されたかに応じて決まる ... ->buf + cookie->offset, xbytes); cookie->offset += xbytes; return xbytes; } int memfile_seek(void *c, off64_t *offset, int whence) { off64_t new_offset; struct memfile_cookie *cookie = c; if (whence == SEEK_SET) new_offset = *offset; else if (whence == ... SEEK_END) new_offset = cookie->endpos + *offset; else if (whence == SEEK_CUR) new_offset = cookie->offset + *offset; else return -1; if (new_offset < 0) return -1; cookie->offset = new_of ...
https://man.mtool.work/man/20260915/man3/fopencookie.3.html
PREV 1 2 NEXT

リンク

日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。