/* The name of the group to which ownership of the files is being given. */
static char *groupname;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
/* If nonzero, describe only modes that change. */
static int changes_only;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
}
/* Change the mode of FILE according to the list of operations CHANGES.
- If DEREF_SYMLINK is non-zero and FILE is a symbolic link, change the
+ If DEREF_SYMLINK is nonzero and FILE is a symbolic link, change the
mode of the referenced file. If DEREF_SYMLINK is zero, ignore symbolic
links. Return 0 if successful, 1 if errors occurred. */
/* The name of the group to which ownership of the files is being given. */
static char *groupname;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
/* This process's effective user ID. */
static uid_t myeuid;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_opts[] =
}
\f
/* Copy the file SRC_PATH to the file DST_PATH. The files may be of
- any type. NEW_DST should be non-zero if the file DST_PATH cannot
+ any type. NEW_DST should be nonzero if the file DST_PATH cannot
exist because its parent directory was just created; NEW_DST should
be zero if DST_PATH might already exist. DEVICE is the device
number of the parent directory, or 0 if the parent of this file is
}
\f
/* Read the contents of the directory SRC_PATH_IN, and recursively
- copy the contents to DST_PATH_IN. NEW_DST is non-zero if
+ copy the contents to DST_PATH_IN. NEW_DST is nonzero if
DST_PATH_IN is a directory that was created previously in the
recursion. SRC_SB and ANCESTORS describe SRC_PATH_IN.
Return 0 if successful, -1 if an error occurs. */
{
buf[n_read] = 1; /* Sentinel to stop loop. */
- /* Find first non-zero *word*, or the word with the sentinel. */
+ /* Find first nonzero *word*, or the word with the sentinel. */
ip = (int *) buf;
while (*ip++ == 0)
;
- /* Find the first non-zero *byte*, or the sentinel. */
+ /* Find the first nonzero *byte*, or the sentinel. */
cp = (char *) (ip - 1);
while (*cp++ == 0)
/* The name this program was run with, for error messages. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
-/* If non-zero, print or set Coordinated Universal Time. */
+/* If nonzero, print or set Coordinated Universal Time. */
static int universal_time = 0;
static struct option const long_options[] =
/* Parse each line in INPUT_FILENAME as with --date and display the
each resulting time and date. If the file cannot be opened, tell why
then exit. Issue a diagnostic for any lines that cannot be parsed.
- If any line cannot be parsed, return non-zero; otherwise return zero. */
+ If any line cannot be parsed, return nonzero; otherwise return zero. */
static int
batch_convert (input_filename, format)
070, 071, 0372, 0373, 0374, 0375, 0376, 0377
};
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
/* If nonzero, invoke the `sync' system call before getting any usage data.
Using this option can make df very slow, especially with many or very
- busy disks. Default to non-zero because the sync call does make a
+ busy disks. Default to nonzero because the sync call does make a
difference on some systems -- SunOs4.1.3, for one. I have been assured
that it is *not* necessary on Linux, so there should be a way to
configure this. FIXME. */
/* Linked list of mounted filesystems. */
static struct mount_entry *mount_list;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
-/* If non-zero, print filesystem type as well. */
+/* If nonzero, print filesystem type as well. */
static int print_type;
static struct option const long_options[] =
/* The exit status to use if we don't get any fatal errors. */
static int exit_status;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
/* Grand total size of all args. */
/* Insert an item (inode INO and device DEV) in the hash
structure in the global variable `htab', if an entry with the same data
- was not found already. Return zero if the item was inserted and non-zero
+ was not found already. Return zero if the item was inserted and nonzero
if it wasn't. */
static int
}
/* Insert INO and DEV in the hash structure HTAB, if not
- already present. Return zero if inserted and non-zero if it
+ already present. Return zero if inserted and nonzero if it
already existed. */
static int
/* The name by which this program was run. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const longopts[] =
if (optind != argc && !strcmp (argv[optind], "-"))
ignore_environment = 1;
-
+
environ = dummy_environ;
environ[0] = NULL;
/* The number of errors encountered so far. */
static int problems = 0;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const longopts[] =
problems++;
else
printf ("(%s)", pwd->pw_name);
-
+
printf (" gid=%u", (unsigned) rgid);
grp = getgrgid (rgid);
if (grp == NULL)
problems++;
else
printf ("(%s)", grp->gr_name);
-
+
if (euid != ruid)
{
printf (" euid=%u", (unsigned) euid);
else
printf ("(%s)", pwd->pw_name);
}
-
+
if (egid != rgid)
{
printf (" egid=%u", (unsigned) egid);
/* If nonzero, install a directory instead of a regular file. */
static int dir_arg;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
/* Copy file FROM onto file TO, creating TO if necessary.
Return 0 if the copy is successful, 1 if not. If the copy is
- successful, set *TO_CREATED to non-zero if TO was created (if it did
+ successful, set *TO_CREATED to nonzero if TO was created (if it did
not exist or did, but was unlinked) and to zero otherwise. If the
copy fails, don't modify *TO_CREATED. */
}
/* Set the attributes of file or directory PATH.
- If NO_NEED_TO_CHOWN is non-zero, don't call chown.
+ If NO_NEED_TO_CHOWN is nonzero, don't call chown.
Return 0 if successful, 1 if not. */
static int
symlink-to-dir before creating the new link. */
static int dereference_dest_dir_symlinks = 1;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
char *new_dest;
PATH_BASENAME_CONCAT (new_dest, dest, source);
dest = new_dest;
- /* Set this to non-zero to force another call to lstat
+ /* Set this to nonzero to force another call to lstat
with the new destination. */
lstat_status = 1;
}
/* The name this program was run with. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
static int exit_status;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
files_index = j;
}
\f
-/* Return non-zero if `name' doesn't end in `.' or `..'
+/* Return nonzero if `name' doesn't end in `.' or `..'
This is so we don't try to recurse on `././././. ...' */
static int
/* If nonzero, ensure that all parents of the specified directory exist. */
static int path_mode;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const longopts[] =
/* The name this program was run with. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const longopts[] =
/* The name this program was run with. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const longopts[] =
/* FIXME */
static struct stat dest_stats, source_stats;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
/* The name this program was run with. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const longopts[] =
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, /* 80-95 */
0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 96-111 */
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, /* 112-127 */
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
/* The name this program was run with. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
/* If nonzero, stdin is a tty. */
static int stdin_tty;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_opts[] =
/* If nonzero, remove empty parent directories. */
static int empty_paths;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const longopts[] =
static char *get_width_format ();
static int print_numbers ();
-/* If non-zero print all number with equal width. */
+/* If nonzero print all number with equal width. */
static int equal_width;
/* The printf(3) format used for output. */
/* The string used to separate two number. */
static char *separator;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
/* The increment. */
from = 1.0;
step_is_set = 0;
- /* We have to handle negative numbers in the command line but this
+ /* We have to handle negative numbers in the command line but this
conflicts with the command line arguments. So the getopt mode is
REQUIRE_ORDER (the '+' in the format string) and it abort on the
first non-option or negative number. */
/* The name by which this program was run. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
/* Get window size information. First try getting the information
associated with standard output and if that fails, try standard input.
- Return zero for success, non-zero if both ioctl's failed. */
+ Return zero for success, nonzero if both ioctl's failed. */
static int
get_win_size (win)
/* The name this program was run with. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
/* If nonzero, pass the `-f' option to the subshell. */
/* The name that this program was run with. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
{
int errs;
int optc;
-
+
program_name = argv[0];
append = 0;
ignore_interrupts = 0;
test_syntax_error (_("integer expression expected %s\n"), pch);
}
-/* Return non-zero if the characters pointed to by STRING constitute a
+/* Return nonzero if the characters pointed to by STRING constitute a
valid number. Stuff the converted number into RESULT if RESULT is
a non-null pointer to a long. */
static int
}
/* Find the modification time of FILE, and stuff it into AGE, a pointer
- to a long. Return non-zero if successful, else zero. */
+ to a long. Return nonzero if successful, else zero. */
static int
age_of (filename, age)
char *filename;
(STREQ (s, "-gt")) || (STREQ (s, "-ge")));
}
-/* Return non-zero if OP is one of the test command's unary operators. */
+/* Return nonzero if OP is one of the test command's unary operators. */
static int
unop (op)
int op;
EXPRESSION1 -a EXPRESSION2 both EXPRESSION1 and EXPRESSION2 are true\n\
EXPRESSION1 -o EXPRESSION2 either EXPRESSION1 or EXPRESSION2 is true\n\
\n\
- [-n] STRING the length of STRING is non-zero\n\
+ [-n] STRING the length of STRING is nonzero\n\
-z STRING the length of STRING is zero\n\
STRING1 = STRING2 the strings are equal\n\
STRING1 != STRING2 the strings are not equal\n\
/* Info about the reference file. */
static struct stat ref_stats;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const longopts[] =
/* If nonzero, return an exit status but produce no output. */
static int silent;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const longopts[] =
-s, --sysname SunOS
-n, --nodename rocky8
-r, --release 4.0
- -v, --version
+ -v, --version
-m, --machine sun
-a, --all SunOS rocky8 4.0 sun
/* The name this program was run with, for error messages. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
/* The name this program was run with. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
#ifdef WHO
mesg = '?';
last_change = 0;
}
-
+
printf ("%-8.*s", (int) sizeof (this->ut_name), this->ut_name);
if (include_mesg)
printf (" %c ", mesg);
if (tty == NULL)
return;
tty += 5; /* Remove "/dev/". */
-
+
utmp_entry = search_entries (read_utmp (filename), tty);
if (utmp_entry == NULL)
return;
/* The name this program was run with. */
char *program_name;
-/* If non-zero, display usage information and exit. */
+/* If nonzero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard output and exit. */
+/* If nonzero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =