MCPcopy Create free account
hub / github.com/RsyncProject/rsync / poptGetArgs

Function poptGetArgs

popt/popt.c:1497–1507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1495}
1496
1497const char ** poptGetArgs(poptContext con)
1498{
1499 if (con == NULL ||
1500 con->leftovers == NULL || con->numLeftovers == con->nextLeftover)
1501 return NULL;
1502
1503 /* some apps like [like RPM ;-) ] need this NULL terminated */
1504 con->leftovers[con->numLeftovers] = NULL;
1505
1506 return (con->leftovers + con->nextLeftover);
1507}
1508
1509static
1510poptItem poptFreeItems(poptItem items, int nitems)

Callers 3

parse_argumentsFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68