Lines Matching refs:src
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
931 FILE *src;
965 if ((src = fopen(SHADOW, "rF")) == NULL) {
976 while (fgetspent_r(src, &cur, buf, sizeof (buf)) != NULL) {
985 (void) fclose(src);
991 (void) fclose(src);
1036 FILE *src, *dst;
1058 if ((src = fopen(PASSWD, "rF")) == NULL) {
1069 while (fgetpwent_r(src, &cur, buf, sizeof (buf)) != NULL) {
1076 (void) fclose(src);
1082 (void) fclose(src);
1169 FILE *src; /* history database file */
1192 if (((src = fopen(HISTORY, "rF")) == NULL) &&
1198 (void) fclose(src);
1207 while ((src != NULL) &&
1208 (fgets(buf, sizeof (buf), src) != NULL)) {
1258 (void) fclose(src);
1278 ((src != NULL) && (link(HISTORY, OHISTORY) != 0)) ||