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_stscs http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
      D_STSCS

SUMMARY
   d_stscs(SET,ts[,dbn])
   int SET;
   ULONG ts;
   int dbn;

ARGUMENTS
   SET       The set type for which the last access timestamp is to
             be set.

   ts        A ULONG (unsigned long) variable to contain the timestamp value.

   dbn       (Optional) The number of the database containing the record.


DESCRIPTION
   This function assigns the last access timestamp for SET from the unsigned
   long variable ts.

CURRENCY CHANGES
   None

RETURN CODES
   -2   S_INVSET       Invalid set type. Probably passed a record or field
                       type instead of a set type.

   -8   S_NOCO         The current owner is null.

   -41  S_TIMESTAMP    The set type is not timestamped.

EXAMPLE


   DB_ADDR dba;
   ULONG   sts,ots;

   /* save current (timestamped) author
      on stack for later processing */
   d_csoget(HAS_PUBLISHED,&dba);
   d_gtsco (HAS_PUBLISHED,&ots);
   d_gtscs (HAS_PUBLISHED,&sts);
    ..
   /* restore saved author as owner of has_published */
   d_csoset(HAS_PUBLISHED,&dba);
   d_stsco (HAS_PUBLISHED,ots);
   d_stscs (HAS_PUBLISHED,sts);
    ..

See Also: d_gtscs

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