Undocumented error return from table()

From: Steve Thompson <smt_at_nicmail.corning.com>
Date: Thu, 28 Jun 2001 12:59:39 -0400 (EDT)

On a Tru64 5.1 system with patch kit #3, the following small program:

#include <stdio.h>
#include <sys/table.h>
int main()
{
struct tbl_dkinfo dkt;
    if (table(TBL_DKINFO, 0, &dkt, 1, sizeof(struct tbl_dkinfo)) < 0)
        perror("table");
    return 0;
}

produces the output:

        table: No such device or address

The errno=ENXIO return is not documented as a valid return from table().
Any inputs as to what this is telling me would be appreciated. TIA,

Steve
------------------------------------------------------------------------------
Steve Thompson E-mail: smt_at_corning.com
_at_ Corning, Incorporated Office: (607) 974 2659
Sullivan Park Data Center FAX: (607) 974 3964
Painted Post, NY 14870 Cell: (607) 725 1167
  "186,300 miles per second: it's not just a good idea, it's the law"
------------------------------------------------------------------------------
Received on Thu Jun 28 2001 - 17:00:49 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT