INGOR
Loading...
Searching...
No Matches
ytFile.h
1/*
2 io/ytFile.{h,c} : File related utility routines
3 Copyright (C) 2016, Yoshinori Tamada <tamada A T ytlab.jp>
4 All rights reserved.
5
6 See LICENSE.txt for details of the licensing agreement.
7*/
8
9#ifndef __YTLIB_FILE_H
10#define __YTLIB_FILE_H
11
12#include <stdio.h>
13#include <stdint.h>
14
15#include "util/ytIntArray.h"
16#include "util/ytData.h"
17
18int ytFile_readLine(FILE * fp, char ** buff, size_t * size);
19void ytFile_printComma_size_t(FILE * fp, size_t value);
20void ytFile_printBit64(FILE * fp, uint64_t b);
21ytIntArray * ytFile_readNodes(FILE * fp, int col,
22 ytIntArray * array, ytData * data);
23FILE * ytFile_ropen(const char * filename);
24FILE * ytFile_wopen(const char * filename);
25void ytFile_flush();
26#endif /* __YTLIB_FILE_H */
Expandable array.
General data container.
Definition ytData.h:46