mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:07:45 +00:00
Big, possibly complete sweep of naming changes.
This commit is contained in:
parent
27fa09aee4
commit
ffab6897aa
93 changed files with 830 additions and 885 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <AK/AKString.h>
|
||||
|
||||
static unsigned parseUInt(const String& str, bool& ok)
|
||||
static unsigned parse_uint(const String& str, bool& ok)
|
||||
{
|
||||
if (str.is_empty()) {
|
||||
ok = false;
|
||||
|
@ -40,13 +40,13 @@ int main(int argc, char** argv)
|
|||
pid_argi = 2;
|
||||
if (argv[1][0] != '-')
|
||||
print_usage_and_exit();
|
||||
signum = parseUInt(&argv[1][1], ok);
|
||||
signum = parse_uint(&argv[1][1], ok);
|
||||
if (!ok) {
|
||||
printf("'%s' is not a valid signal number\n", &argv[1][1]);
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
unsigned pid = parseUInt(argv[pid_argi], ok);
|
||||
unsigned pid = parse_uint(argv[pid_argi], ok);
|
||||
if (!ok) {
|
||||
printf("'%s' is not a valid PID\n", argv[pid_argi]);
|
||||
return 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue