Searched refs:modestr (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libnetcfg/common/
H A Dlibnetcfg_zio.c205 const char *modestr = zfarg->zfarg_openarg.zopen_modestr; local
216 * modestr that is used to set oflags and mode. In the latter case,
217 * we assume modestr is either 'r' or 'w'; i.e. we only ever open a
220 if (modestr == NULL) {
224 oflags = (modestr[0] == 'r') ?
226 mode = (modestr[0] == 'r') ?
371 netcfg_zfopen(const char *filename, const char *modestr, zoneid_t zoneid, argument
377 zfoparg.zfop_openarg.zopen_modestr = modestr;
382 fp = fdopen(zfoparg.zfop_openarg.zopen_fd, modestr);

Completed in 21 milliseconds