Previous section.

Protocols for Interworking: XNFS, Version 3W
Copyright © 1998 The Open Group

Name

NFSPROC_GETATTR - Get File Attributes

Call Arguments

typedef opaque fhandle[NFS_FHSIZE];

Return Arguments

union attrstat switch (stat status) { case NFS_OK: fattr attributes; default: void; };

fattr and sattr are defined in Basic Data Types .

RPC Procedure Description

attrstat NFSPROC_GETATTR (fhandle) = 1;

Description

If the reply status is NFS_OK, then the reply attributes contains the attributes for the file given by the input fhandle. The file handle supplied to this procedure can refer to any of the supported file types. See the definition of ftype in Basic Data Types .

Return Codes

NFS_OK
Indicates that the call completed successfully and the results are valid.

NFSERR_IO
Some sort of hard error occurred when the operation was in progress. This could be a disk error, for example.

NFSERR_STALE
The fhandle given in the arguments was invalid. That is, the file referred to by that file handle no longer exists, or access to it has been revoked.


Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.

Contents Next section Index