Lines Matching +defs:val +defs:file
4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
468 " dsfield=val[:dsfield_mask]";
545 int val;
549 val = strtol(oarg, &endp, 10);
550 if (errno != 0 || val <= 0 || *endp != '\0')
553 *interval = val;
781 char file[MAXPATHLEN];
790 * no one else could be accessing our configuration file.
801 (void) snprintf(file, MAXPATHLEN, "%s/%s", dladm_rootdir, db_file);
802 if ((fp = fopen(file, (writeop ? "r+" : "r"))) == NULL) {
834 /* Set permissions on file to db_perms */
856 if (rename(newfile, file) < 0) {