TCP/IP Programming Manual
INT filename_len;
INT flags;
INT sync;
INT access;
INT exclusion;
INT nowait;
INT options;
END;
filenum
specifies the file number of the opened file.
file_name
is the name of the file.
filename_len
is the length, in bytes, of the contents of file_name.
flags
specifies flag values that affect the file.
sync
specifies the sync-depth value of the file.
access
is the access mode of the file.
exclusion
is the mode of compatibility with other openers of the file.
nowait
defines whether I/O operations for the file are to be nowait operations.
options
is the optional characteristics of the file.
protoent
This structure is used by the support routines that deal with protocol names. This structure is defined
in the netdb.h header file.
C Declaration
#include <netdb.h>
struct protoent {
char *p_name;
char **p_aliases;
int p_proto;
};
TAL Declaration
?NOLIST, SOURCE SOCKDEFT
STRUCT paliase (*);
BEGIN
STRING .EXT ptrs;
END;
STRUCT pptrs (paliase)[0:4];
STRUCT protoent (*);
BEGIN
Data Structures 73