RNAlib-2.4.14
utils.h File Reference

Several utilities for file handling. More...

+ Include dependency graph for utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void vrna_file_copy (FILE *from, FILE *to)
 Inefficient `cp'.
 
char * vrna_read_line (FILE *fp)
 Read a line of arbitrary length from a stream. More...
 
int vrna_mkdir_p (const char *path)
 Recursivly create a directory tree.
 
char * vrna_basename (const char *path)
 Extract the filename from a file path.
 
char * vrna_dirname (const char *path)
 Extract the directory part of a file path.
 
char * vrna_filename_sanitize (const char *name, const char *replacement)
 Sanitize a file name. More...
 
int vrna_file_exists (const char *filename)
 Check if a file already exists in the file system. More...
 

Detailed Description

Several utilities for file handling.

,