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.
26 * This file contains routines to read entries from the libipadm data
138 * The value will be interpreted as explained at the top of this file.
454 char *nv, *name, *val, *buf, *cp, *sep;
487 if ((val = strchr(nv, '=')) != NULL)
488 *val++ = '\0';
497 (void) i_ipadm_add_nvpair(*ipnvl, name, val);
510 * another file and scribble the changes to it and copy the new file back to
511 * old file.
518 char file[MAXPATHLEN];
523 (void) snprintf(file, MAXPATHLEN, "%s/%s", ipadm_rootdir, db_file);
526 if ((fp = fopen(file, "r+")) == NULL)
563 if (rename(newfile, file) < 0) {
579 * Processes each line of the configuration file, skipping lines with
586 * Further if cont is set to B_FALSE, the remainder of the file will