![]() |
Oyranos
git-devel
Oyranos is a full featured Color Management System
|
Oyjl API provides a platformindependent C interface for file reading and i/o. More...
#include <stdlib.h>#include <stdio.h>#include <string.h>Typedefs | |
| typedef int(* | oyjlFileNameCheck_f) (const char **full_filename, int write_size) |
| custom file name checker function type More... | |
Functions | |
| FILE * | oyjlFopen (const char *file_name, const char *mode) |
| wrapper for fopen() More... | |
| char * | oyjlReadFileStreamToMem (FILE *fp, int *size) |
| read FILE into memory More... | |
| char * | oyjlReadFile (const char *file_name, int flags, int *size_ptr) |
| read local file into memory More... | |
| char * | oyjlReadCommandF (int *size, const char *mode, void *(*alloc)(size_t), const char *format,...) |
| Read a stream from shell command. More... | |
| char * | oyjlReadFileP (FILE *fp, int *size_ptr, void *(*alloc)(size_t), const char *file_name) |
| Read a local FILE pointer to memory. More... | |
| int | oyjlReadFunction (int argc, const char **argv, int(*callback)(int argc, const char **argv), void *(*alloc)(size_t), int *size_stdout, char **data_stdout, int *size_stderr, char **data_stderr) |
| Read a stream from a function. More... | |
| int | oyjlWriteFile (const char *filename, const void *mem, int size) |
| write memory to FILE More... | |
| int | oyjlHasApplication (const char *app_name) |
| detect program More... | |
Oyjl API provides a platformindependent C interface for file reading and i/o.
oyjl - Basic i/o helper C API's
1.8.13