Lines Matching defs:record

45  *	_getdevrec()		Gets a specific record from the device table
83 * dtabrecnum Record number of the current record (0 to n-1)
88 * xtndcnt Number of malloc()/realloc() calls on record buffer
149 * _getdevtabent() returns the first record in the device table.
385 * This function gets the next record from the input stream "oam_devtab"
386 * and puts it in the device-table record buffer (whose address is in
388 * accommodate the record, the function allocates more space to the
394 * The address of the buffer containing the record.
399 * recbufsz Current size of the record buffer
400 * xtndcnt Number of times the record buffer has been extended
416 int reclen; /* Number of chars in record */
428 /* Get the next record */
438 /* If we have a complete record, we're finished */
444 * Need to complete the record. A complete record is
455 /* Expand the record buffer */
480 /* Complete the record */
491 /* Read failed, corrupt record? */
497 } /* End incomplete record handling */
661 * and returns the first record in the table.
666 * Pointer to the next record in the device table, or
683 char *record; /* Ptr to the record just read */
700 while (!done && (record = getnextrec())) {
702 /* Save record number in structure */
705 /* Comment record? If so, just save the value and we're through */
706 if (strchr("#\n", *record) || isspace((unsigned char)*record)) {
709 if (ent->attrstr = malloc(strlen(record)+1)) {
711 p = record;
724 /* Record is a data record. Parse it. */
729 if (p = getfld(record, ":")) {
788 /* Found a valid record */
811 } /* !done && record read */
896 * char *device A character-string describing the device whose record
903 * - Someday, add a cache so that repeated requests for the same record
917 struct devtabent *devrec; /* Pointer to current record */
918 int found; /* TRUE if record found */
1038 * Search the table for a record that has as the "alias" attribute