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 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
|
<HTML>
<BODY BGCOLOR=white>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
NAME
lSet{Type}, lSetPos{Type} - set the field content of type
{Type}
SYNOPSIS
#include "cull.h"
int lSetInt(
lListElem *element,
int fieldname,
int value
);
int lSetUlong(
lListElem *element,
int fieldname,
lUlong value
);
int lSetString(
lListElem *element,
int fieldname,
lString value
);
int lSetList(
lListElem *element,
int fieldname,
lList* value
);
int lSetFloat(
lListElem *element,
int fieldname,
lFloat value
);
int lSetDouble(
lListElem *element,
int fieldname,
lDouble value
);
int lSetChar(
lListElem *element,
int fieldname,
lChar value
);
int lSetLong(
lListElem *element,
int fieldname,
lLong value
);
int lSetPosInt(
lListElem *element,
int position,
int value
);
int lSetPosUlong(
lListElem *element,
int position,
lUlong value
);
int lSetPosString(
lListElem *element,
int position,
lString value
);
int lSetPosList(
lListElem *element,
int position,
lList* value
);
int lSetPosFloat(
lListElem *element,
int position,
lFloat value
);
int lSetPosDouble(
lListElem *element,
int position,
lDouble value
);
int lSetPosChar(
lListElem *element,
int position,
lChar value
);
int lSetPosLong(
lListElem *element,
int position,
lLong value
);
DESCRIPTION
int lSet{Type}(element, fieldname, value)
set the content of the field specified by fieldname of
list element element. The types of the field of list
element element and the type of the delivered value
must be equal.
int lSetPos{Type}(element, position, value)
set the content of the field specified by position of
list element element. The types of the field of list
element element and the type of the delivered value
must be equal.
RETURN VALUES
On error -1 is returned, 0 otherwise.
ERRORS
The following possible values can occur for lerrno.
LEELEMNULL
The element pointer specifying the element is NULL.
LENEGPOS
The specified position for lSetPos{Type} is negative.
LEINCTYPE
The specified types of the function and the field ele-
ment are incompatible.
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/lGetIn.html">lGetIn(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>
|