Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 517 Bytes

sysutil.h

File metadata and controls

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