mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Added missing include for read() function.
This commit is contained in:
parent
0471869f58
commit
25d3d008f6
@ -29,6 +29,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -66,7 +67,7 @@ ezxml_t ezxml_parse_fd(int fd);
|
||||
|
||||
/* a wrapper for ezxml_parse_fd() that accepts a file name*/
|
||||
ezxml_t ezxml_parse_file(const char *file);
|
||||
|
||||
|
||||
/* Wrapper for ezxml_parse_str() that accepts a file stream. Reads the entire*/
|
||||
/* stream into memory and then parses it. For xml files, use ezxml_parse_file()*/
|
||||
/* or ezxml_parse_fd()*/
|
||||
@ -111,7 +112,7 @@ const char **ezxml_pi(ezxml_t xml, const char *target);
|
||||
|
||||
/* frees the memory allocated for an ezxml structure*/
|
||||
void ezxml_free(ezxml_t xml);
|
||||
|
||||
|
||||
/* returns parser error message or empty string if none*/
|
||||
const char *ezxml_error(ezxml_t xml);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user