JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 1 of about 1 for xbytes (0.002 sec.)
Man page of FOPENCOOKIE 9414
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 ... e->endpos) cookie->endpos = cookie->offset; return size; } ssize_t memfile_read(void *c, char *buf, size_t size) { ssize_t xbytes; struct memfile_cookie *cookie = c; /* Fetch minimum of bytes requested and bytes available */ xbytes = size; if (cookie-> ... offset + size > cookie->endpos) xbytes = cookie->endpos - cookie->offset; if (xbytes < 0) /* offset may be past endpos */ xbytes = 0; memcpy(buf, cookie->buf + c ... ookie->offset, xbytes); cookie->offset += xbytes; return xbytes; } int memfile_seek(void *c, off64_t *offset, int whence) { off64_t new_offset; ...
https://man.mtool.work/man/20260915/man3/fopencookie.3.html
PREV 1 NEXT

リンク

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