tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Undocumented error return from table()
@ 2001-06-28 16:59 Steve Thompson
  0 siblings, 0 replies; only message in thread
From: Steve Thompson @ 2001-06-28 16:59 UTC (permalink / raw)
  To: tru64-unix-managers

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@corning.com
@ 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"
------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-28 16:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-28 16:59 Undocumented error return from table() Steve Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox