Searched refs:writeFile (Results 1 - 2 of 2) sorted by relevance
/system/netd/ |
H A D | CommandListener.h | 48 static int writeFile(const char *path, const char *value, int size);
|
H A D | CommandListener.cpp | 87 int CommandListener::writeFile(const char *path, const char *value, int size) { function in class:CommandListener 404 if (writeFile(tmp, !strncmp(argv[3], "enable", 7) ? "2" : "0", 1) < 0) { 425 if (writeFile(tmp, !strncmp(argv[3], "enable", 7) ? "0" : "1", 1) < 0) {
|
Completed in 75 milliseconds