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

  man pages->IRIX man pages -> getabi (3c)              


getabi(3C)							    getabi(3C)

NAME    [Toc]    [Back]

     getabi - get ABI from argument vector

SYNOPSIS    [Toc]    [Back]

     #include <getabi.h>

     abi_t getabi (int generic_size, int modify_abi_arg, char ***argv, int

DESCRIPTION    [Toc]    [Back]

     getabi is used to determine whether to use	the 32-bit ABI (abi32) or the
     64-bit ABI	(abi64). First it checks the argv list for "-32" or "-64".  If
     neither of	these is given,	then it	checks the argv	list for a "-mips[1-
     4]" option.  Mips 1 and 2 imply abi32 while mips 3	and 4 imply abi64. If
     none of the argv options specify the abi, then we check the SGI_ABI
     environment variable, which can be	set to either "-32" or "-64".  If
     SGI_ABI is	not in the environment,	then we	check what kernel is
     installed.	 If we are running on a	system that has	the 64-bit kernel,
     then we default to	abi64; else we default to abi32.

     The generic_size parameter	says whether to	return the ABI for the generic
     size (abi32 or abi64), or to return the specific ABI (abio32 or abi64).

     The modify_abi_arg	parameter says whether to ignore the argv list when
     determining the ABI, or, if we do use the argv list, whether to preserve
     the argv list, or add the default abi value to the	argv list, or remove
     the abi value from	the argv list.	This gives extra flexibility to	users
     in	how ABI	options	are handled in the argv	list.  This is also why	the
     argv and argc options are passed by address, so their values can possibly
     be	modified by getabi().

SEE ALSO    [Toc]    [Back]


DIAGNOSTICS    [Toc]    [Back]

     getabi prints an error message on the standard error and returns noabi
     when it encounters	an error.

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
getopt Tru64 Get option letters from the argument vector
getopt IRIX get option letter from argument vector
transfer IRIX Treats the first argument as if it is of the same type as the second argument
glNormal3s Tru64 set the current normal vector
glNormal3i Tru64 set the current normal vector
glNormal3sv Tru64 set the current normal vector
readv Linux read or write a vector
glNormal3iv Tru64 set the current normal vector
glNormal3f Tru64 set the current normal vector
glNormal3fv Tru64 set the current normal vector
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service