s/xbm_read_file()/grab_file/()

This commit is contained in:
Johan Malm 2020-08-06 15:01:08 +01:00
parent 042c157378
commit 6627a47305
5 changed files with 51 additions and 22 deletions

View file

@ -0,0 +1,17 @@
/*
* Read file into memory
*
* Copyright Johan Malm 2020
*/
#ifndef __LABWC_GRAB_FILE_H
#define __LABWC_GRAB_FILE_H
/**
* grab_file - read file into memory buffer
* @filename: file to read
* Returns pointer to buffer. Free with free().
*/
char *grab_file(const char *filename);
#endif /* __LABWC_GRAB_FILE_H */