1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
<HTML>
<BODY BGCOLOR=white>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
NAME
lGet{Type},lGetPos{Type} - get the field content of type
{Type}
SYNOPSIS
#include "cull.h"
int lGetInt( lListElem *element, int fieldname );
unsigned long lGetUlong(
lListElem *element,
int fieldname
);
char* lGetString( lListElem *element, int fieldname );
lList* lGetList( lListElem *element, int fieldname );
float lGetFloat( lListElem *element, int fieldname );
double lGetDouble( lListElem *element, int fieldname );
char lGetChar( lListElem *element, int fieldname );
long lGetLong( lListElem *element, int fieldname );
int lGetPosInt( lListElem *element, int position );
unsigned long lGetPosUlong(
lListElem *element,
int position
);
char* lGetPosString( lListElem *element, int position );
lList* lGetPosList( lListElem *element, int position );
float lGetPosFloat( lListElem *element, int position );
double lGetPosDouble( lListElem *element, int position );
char lGetPosChar( lListElem *element, int position );
long lGetPosLong( lListElem *element, int position );
DESCRIPTION
{Type} lGet{Type}( element, fieldname )
return the content of the field specified by fieldname
of list element element. The types of the requested
field of list element element and the type {Type} must
be equal.
{Type} lGetPos{Type}( element, position )
return the content of the field specified by position
of list element element. The types of the requested
field of list element element and the type {Type} must
be equal.
RETURN VALUES
<I>lGet</I>{<I>Type</I>} and <I>lGetPos</I>{<I>Type</I>} return the content of the
specified field corresponding to its {Type}.
ERRORS
The following possible values can occur for lerrno.
LEELEMNULL
The element pointer specifying the element is NULL.
SEE ALSO
<B><A HREF="../htmlman1/sge_intro.html">sge_intro(1)</A></B>, <B><A HREF="../htmlman3/list_intro.html">list_intro(3)</A></B>, <B><A HREF="../htmlman3/lSetInt.html">lSetInt(3)</A></B>.
COPYRIGHT
See <B><A HREF="../htmlman1/sge_intro.html">sge_intro(1)</A></B> for a full statement of rights and permis-
sions.
</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>
|