Home
last modified time | relevance | path

Searched refs:cwdfd (Results 1 – 1 of 1) sorted by relevance

/freebsd-14-stable/usr.bin/calendar/
HDio.c119 static int cwdfd = -1; in cal_fopen() local
138 if (!doall && cwdfd == -1) { in cal_fopen()
139 cwdfd = open(".", O_DIRECTORY | O_PATH); in cal_fopen()
140 if (cwdfd == -1) in cal_fopen()
147 if (cwdfd != -1) { in cal_fopen()
148 if ((fd = openat(cwdfd, file, O_RDONLY)) != -1) { in cal_fopen()