mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			366 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			366 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0-only */
 | 
						|
/*
 | 
						|
 * 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 */
 |