*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> types (5)              


types(5)							      types(5)

NAME    [Toc]    [Back]

     types - primitive system data types

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>

DESCRIPTION    [Toc]    [Back]

     The data types defined in types.h are used	in UNIX	System code.  Some
     data of these types are accessible	to user	code:

	  typedef  struct { int	r[1]; }	*physadr;
	  typedef  long		   clock_t;
	  typedef  long		   daddr_t;
	  typedef  long		   pgno_t;
	  typedef  char	*	addr_t;
	  typedef  char	*	caddr_t;
	  typedef  unsigned char   unchar;
	  typedef  unsigned short  ushort;
	  typedef  unsigned int	   uint;
	  typedef  unsigned long   ulong;
	  typedef  unsigned long   ino_t;
	  typedef  long		   uid_t;
	  typedef  long		   gid_t;
	  typedef  unsigned long   nlink_t;
	  typedef  unsigned long   mode_t;
	  typedef  short	   cnt_t;
	  typedef  long		   time_t;
	  typedef  long		   swblk_t;
	  typedef  int		   label_t[12];
	  typedef  unsigned long   dev_t;
	  typedef  long		   off_t;
	  typedef  long		   pid_t;
	  typedef  long		   paddr_t;
	  typedef  int		   key_t;
	  typedef  unsigned char   use_t;
	  typedef  short	   sysid_t;
	  typedef  short	   index_t;
	  typedef  unsigned int	   lock_t;
	  typedef  signed char	   cpuid_t;
	  typedef  unsigned int	   size_t;
	  typedef  int		   ssize_t;
	  typedef  long		   clock_t;
	  typedef  long		   pid_t;
	  typedef  long		   id_t;
	  typedef  long		   hostid_t;

     The form daddr_t is used for disk addresses except	in an i-node on	disk,
     see fs(4).	 Times are encoded in seconds since 00:00:00 UTC, January 1,
     1970.  The	major and minor	parts of a device code specify kind and	unit
     number of a device	and are	installation-dependent.	 Offsets are measured
     in	bytes from the beginning of a file.  The label_t variables are used to

									Page 1

types(5)							      types(5)

     save the processor	state while another process is running.

									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
cry2mips IRIX Converts Fortran data types between Cray Fortran data types and MIPS IEEE Fortran data types
types OpenBSD system data types
DtDtsDataTypeNames HP-UX get a list of available data types
DtDtsFindAttribute HP-UX get a specified list of data types
perldata IRIX Perl data types
perldata OpenBSD Perl data types
inttypes HP-UX basic integer data types
nl_types IRIX native language data types
iflDataSize IRIX convenience functions for using IFL data types
ttytype IRIX data base of terminal types by port
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service