/haiku/src/bin/ |
H A D | unmount.c | 19 usage(const char *programName) argument 23 "\t-f\tforces unmounting in case of open files left\n", programName); 31 const char *programName = argv[0]; local 39 if (strrchr(programName, '/')) 40 programName = strrchr(programName, '/') + 1; 52 usage(programName); 60 usage(programName); 63 fprintf(stderr, "%s: The path \"%s\" is not accessible\n", programName, path); 71 fprintf(stderr, "%s: unmounting failed: %s\n", programName, strerro [all...] |
H A D | mount.c | 19 usage(const char *programName) argument 26 "\tif device is not specified, NULL is passed (for in-memory filesystems)\n",programName); 34 const char *programName = argv[0]; local 45 if (strrchr(programName, '/')) 46 programName = strrchr(programName, '/') + 1; 69 usage(programName); 82 usage(programName); 85 fprintf(stderr, "%s: The mount point '%s' is not accessible\n", programName, mountPoint); 89 fprintf(stderr, "%s: The mount point '%s' is not a directory\n", programName, mountPoin [all...] |
H A D | df.cpp | 172 ShowUsage(const char *programName) argument 185 " W: is writable\n", programName); 193 char *programName = argv[0]; local 194 if (strrchr(programName, '/')) 195 programName = strrchr(programName, '/') + 1; 216 ShowUsage(programName); 226 ShowUsage(programName);
|
H A D | resattr.cpp | 46 const char *programName = (sArgc > 0 ? sArgv[0] : "resattr"); local 47 if (const char *lastSlash = strrchr(programName, '/')) 48 programName = lastSlash + 1; 51 fprintf((error ? stderr : stdout), kUsage, programName);
|
/haiku/src/libs/bsd/ |
H A D | progname.c | 27 setprogname(const char *programName) argument 29 const char *slash = strrchr(programName, '/'); 33 __progname = programName;
|
/haiku/src/tests/kits/storage/testapps/ |
H A D | clipboard.cpp | 39 const char *programName = (sArgc > 0 ? sArgv[0] : "resattr"); local 40 if (const char *lastSlash = strrchr(programName, '/')) 41 programName = lastSlash + 1; 44 fprintf((error ? stderr : stdout), kUsage, programName, programName, 45 programName, programName);
|
/haiku/src/bin/pkgman/ |
H A D | Command.cpp | 46 Command::Init(const char* programName) argument 48 fShortUsage.ReplaceAll("%program%", programName); 49 fLongUsage.ReplaceAll("%program%", programName); 87 CommandManager::InitCommands(const char* programName) argument 90 command->Init(programName);
|
H A D | Command.h | 26 void Init(const char* programName); 57 void InitCommands(const char* programName);
|
/haiku/headers/compatibility/bsd/ |
H A D | stdlib.h | 23 void setprogname(const char *programName);
|
/haiku/headers/private/debug/ |
H A D | TeamDebugger.h | 36 static status_t _FindProgram(const char* programName,
|
/haiku/src/tests/add-ons/print/ppd/test/ |
H A D | Test.cpp | 31 void printArgs(const char* programName) argument 33 fprintf(stderr, "%s: argument\n", programName);
|
/haiku/src/kits/debug/ |
H A D | TeamDebugger.cpp | 165 BTeamDebugger::_FindProgram(const char* programName, BPath& resolvedPath) argument 170 if (*programName == '/' || strchr(programName, '/')) 171 return resolvedPath.SetTo(programName); 191 status_t error = path.SetTo(directory, programName);
|
/haiku/src/bin/debug/ |
H A D | debug_utils.cpp | 29 find_program(const char* programName, std::string& resolvedPath) argument 34 if (*programName == '/' || strchr(programName, '/')) { 35 resolvedPath = programName; 54 path += programName;
|
/haiku/src/tools/ |
H A D | set_haiku_revision.cpp | 209 const char *programName = (sArgc > 0 ? sArgv[0] : "resattr"); local 210 if (const char *lastSlash = strrchr(programName, '/')) 211 programName = lastSlash + 1; 214 fprintf((error ? stderr : stdout), kUsage, programName);
|
/haiku/src/apps/workspaces/ |
H A D | Workspaces.cpp | 198 void Usage(const char *programName); 1019 WorkspacesApp::Usage(const char *programName) argument 1034 programName); 1061 const char *programName = strrchr(argv[0], '/'); local 1062 programName = programName ? programName + 1 : argv[0]; 1064 Usage(programName);
|