1 /* 2 sysutil: generic utilities to interact with the OS (signals, paths) 3 4 copyright ?-2015 by the mpg123 project - free software under the terms of the LGPL 2.1 5 see COPYING and AUTHORS files in distribution or http://mpg123.org 6 initially written by Michael Hipp (dissected/renamed by Thomas Orgis) 7 */ 8 9 #ifndef _MPG123_SYSUTIL_H_ 10 #define _MPG123_SYSUTIL_H_ 11 12 int split_dir_file(const char *path, char **dname, char **fname); 13 /* Length of directory part in given path. */ 14 size_t dir_length(const char *path); 15 16 #endif 17 18