Lines Matching 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.
135 * config_file_t is an abstract of configration file,
263 boolean_t b_fileonly; /* operation only on the config file */
264 boolean_t b_readonly; /* only read from the card or config file */
622 * of the configration file, and return the pointer.
707 * parse_file: Parse each section of the configration file
710 * A config file has contents below:
774 FILE *file = NULL;
790 file = fopen(pfile, "r");
792 if (file == NULL) {
799 file = fdopen(fd, "w");
805 while (fgets(buf_line, sizeof (buf_line), file) != NULL) {
875 gettext("%s: %s: file format error\n"),
882 (void) fclose(file);
886 (void) fclose(file);
921 * archived contents into a file
926 FILE *file = NULL;
947 file = fdopen(fd, "w");
955 len = fprintf(file, "\n%s\n", p_section->section_id);
960 safe_fclose(file);
966 len = fprintf(file, "%s\n",
974 safe_fclose(file);
983 safe_fclose(file);
985 * The attribute of the file /etc/inet/wifi and
987 * if those file do not exist, set default file mode.
994 "file %s stat: %s\n"),
1051 * when we read an line from file, we gets "essid=ap7-2", this function
1216 * the config_file_t struct to the file, it will be delete.
1278 * config_file_t struct to the file, we will find section list is NULL,
1279 * and will not write it to file, so it will be deleted.
1291 PRTDBG(("del_section: %d section(s) in config file\n",
2015 * write file.
2360 * assigned, then print all profile saved in configration file.
4869 * We use file lock here to implement this.
4890 * can not write file when startconfing