Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- db_VISTA III - d_recread http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   D_RECREAD

SUMMARY
   d_recread(value[,dbn])
   char *value;
   int dbn;

ARGUMENTS
   value       Pointer to area where the contens of the current record are to
               be copied.

   dbn         (optional)The number of the database containing the record

DESCRIPTION
   This function copies the contens of the current record to the data area
   pointed to by the value. Usually, value will point to a variable declared
   as one of the struct types in the dbname.h header file corresponding to a
   DDL record definition.

CURRENCY CHANGES
   None

RETURN CODES
    6    S_DELETED     Record has been deleted.

    -7   S_NORC        The current record is null.

    -24  S_NOTLOCKED   Record type of current record is not locked.

EXAMPLE
    struct info irec;
    ..
    /* display all info records in id_code order */
    for (d_keyfrst(ID_CODE);db_status == S_OKAY;
         d_keynext (ID_CODE)) {
    d_recread (&irec);

    ...      /* print info record contens */
    }

See Also: d_crread

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson