Home
last modified time | relevance | path

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

/freebsd-12.1/cddl/compat/opensolaris/misc/
H A Dzmount.c74 char *dataptr, int datalen, char *optptr, int optlen) in zmount() argument
87 assert(optptr != NULL); in zmount()
90 tofree = optstr = strdup(optptr); in zmount()
/freebsd-12.1/bin/sh/
H A Doptions.c455 shellparam.optptr = NULL; in getoptscmd()
461 &shellparam.optptr); in getoptscmd()
466 char **optptr) in getopts() argument
476 if ((p = *optptr) == NULL || *p == '\0') { in getopts()
535 *optptr = p; in getopts()
550 *optptr = NULL; in getopts()
H A Doptions.h45 char *optptr; /* used by getopts */ member
/freebsd-12.1/sbin/etherswitchcfg/
H A Difmedia.c529 char *optlist, *optptr; in get_media_options() local
549 optptr = optlist; in get_media_options()
550 for (; (optptr = strtok(optptr, ",")) != NULL; optptr = NULL) { in get_media_options()
552 option = lookup_media_word(ttos->options[i].desc, optptr); in get_media_options()
557 errx(1, "unknown option: %s", optptr); in get_media_options()
/freebsd-12.1/sbin/ifconfig/
H A Difmedia.c546 char *optlist, *optptr; in get_media_options() local
566 optptr = optlist; in get_media_options()
567 for (; (optptr = strtok(optptr, ",")) != NULL; optptr = NULL) { in get_media_options()
569 option = lookup_media_word(ttos->options[i].desc, optptr); in get_media_options()
574 errx(1, "unknown option: %s", optptr); in get_media_options()
/freebsd-12.1/contrib/amd/
H A DChangeLog3779 * configure.in: check if struct mounta has the optptr field;
3784 touch mnt->optptr unless HAVE_MOUNTA_OPTPTR is defined