mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
helpers: add a function to find an executable in $PATH
Origin commit data
------------------
Commit: e37e425674
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-26 (Sun, 26 Jan 2014)
This commit is contained in:
@@ -41,6 +41,8 @@ bool get_fs_usage(const char * dir, uint64_t &btotal, uint64_t &bused, long *bsi
|
||||
bool get_mem_usage(unsigned long &total, unsigned long &free);
|
||||
void mySleep(int sec);
|
||||
|
||||
std::string find_executable(const char *name);
|
||||
|
||||
std::string getPathName(std::string &path);
|
||||
std::string getBaseName(std::string &path);
|
||||
std::string getFileName(std::string &file);
|
||||
|
Reference in New Issue
Block a user