VDS_LAST_RECORD(3)



NAME

     vds_last_record



     SYNOPSIS
          #include <soi_vds.h>

          VDS *vds_last_record (VDS *vds);



     DESCRIPTION

     If this function is called with a pointer  to  a  valid  VDS
     data structure, it returns an integer which is one less than
     the number of records in the VDS  structure.   That  is,  it
     returns a record index which starts at 0.

     A valid VDS data structure is returned by a successful  call
     to vds_open or vds_new.

     If this function is called with a NULL pointer, soi_errno is
     set  but  if  it's called with a non-NULL pointer which does
     not point to a valid VDS, the outcome is undefined.



     SEE ALSO

     ~soi/CM/man/man3/vds.3
     ~soi/CM/include/soi_error.h



     FILES

     ~soi/CM/include/soi_vds.h