Searched refs:mlfile (Results 1 – 1 of 1) sorted by relevance
3717 FILE *mlfile; in get_mountlist() local3719 if ((mlfile = fopen(_PATH_RMOUNTLIST, "r")) == NULL) { in get_mountlist()3727 while (fgets(str, STRSIZ, mlfile) != NULL) { in get_mountlist()3743 fclose(mlfile); in get_mountlist()3750 FILE *mlfile; in del_mlist() local3762 if ((mlfile = fopen(_PATH_RMOUNTLIST, "w")) == NULL) { in del_mlist()3767 fprintf(mlfile, "%s %s\n", mlp->ml_host, mlp->ml_dirp); in del_mlist()3769 fclose(mlfile); in del_mlist()3777 FILE *mlfile; in add_mlist() local3792 if ((mlfile = fopen(_PATH_RMOUNTLIST, "a")) == NULL) { in add_mlist()[all …]