Searched defs:maxfields (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libinetutil/common/
H A Dofmt.c90 * Split `str' into at most `maxfields' fields, Return a pointer to a
94 split_str(const char *str, uint_t maxfields) argument
99 if (*str == '\0' || maxfields == 0)
107 sp->s_fields = malloc(sizeof (char *) * maxfields);
113 if (sp->s_nfields == maxfields)
125 * Split `fields' into at most `maxfields' fields. Return a pointer to
131 split_fields(const ofmt_field_t *template, uint_t maxfields, uint_t maxcols) argument
140 sp->s_fields = malloc(sizeof (char *) * maxfields);
144 for (i = 0; i < maxfields; i++) {
/osnet-11/usr/src/lib/libcmd/common/
H A Djoin.c139 int maxfields; member in struct:File_s
206 jp->file[0].maxfields = NFIELD;
207 jp->file[1].maxfields = NFIELD;
300 register Field_t* fieldmax = field + fp->maxfields;
330 n = 2 * fp->maxfields;
332 field = fp->fields + fp->maxfields;
333 fp->maxfields = n;

Completed in 31 milliseconds