MCPcopy Index your code
hub / github.com/RsyncProject/rsync / poptStuffArgs

Function poptStuffArgs

popt/popt.c:1666–1687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1664}
1665
1666int poptStuffArgs(poptContext con, const char ** argv)
1667{
1668 int argc;
1669 int rc;
1670
1671 if ((con->os - con->optionStack) == POPT_OPTION_DEPTH)
1672 return POPT_ERROR_OPTSTOODEEP;
1673
1674 for (argc = 0; argv[argc]; argc++)
1675 {};
1676
1677 con->os++;
1678 con->os->next = 0;
1679 con->os->nextArg = NULL;
1680 con->os->nextCharArg = NULL;
1681 con->os->currAlias = NULL;
1682 rc = poptDupArgv(argc, argv, &con->os->argc, &con->os->argv);
1683 con->os->argb = NULL;
1684 con->os->stuffed = 1;
1685
1686 return rc;
1687}
1688
1689const char * poptGetInvocationName(poptContext con)
1690{

Callers

nothing calls this directly

Calls 1

poptDupArgvFunction · 0.85

Tested by

no test coverage detected