JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 1 of about 1 for mycookie (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 ... memfile_read, .write = memfile_write, .seek = memfile_seek, .close = memfile_close }; FILE *stream; struct memfile_cookie mycookie; size_t nread; char buf[1000]; /* Set up the cookie before calling fopencookie() */ mycookie.buf = malloc(INIT_BUF_SIZE); ... if (mycookie.buf == NULL) { perror("malloc"); exit(EXIT_FAILURE); } mycookie.allocated = INIT_BUF_SIZE; mycookie.offset = 0; mycookie.e ... ndpos = 0; stream = fopencookie(&mycookie,"w+", memfile_func); if (stream == NULL) { perror("fopencookie"); exit(EXIT_FAILURE); } /* Write command-line arguments to ...
https://man.mtool.work/man/20260915/man3/fopencookie.3.html
PREV 1 NEXT

リンク

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