~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to doc/htmlman/htmlman3/lSetPosFloat.html

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<HTML>
 
2
<BODY BGCOLOR=white>
 
3
<PRE>
 
4
<!-- Manpage converted by man2html 3.0.1 -->
 
5
NAME
 
6
     lSet{Type}, lSetPos{Type} - set the field  content  of  type
 
7
     {Type}
 
8
 
 
9
SYNOPSIS
 
10
     #include "cull.h"
 
11
 
 
12
     int lSetInt(
 
13
          lListElem *element,
 
14
          int fieldname,
 
15
          int value
 
16
     );
 
17
 
 
18
     int lSetUlong(
 
19
          lListElem *element,
 
20
          int fieldname,
 
21
          lUlong value
 
22
     );
 
23
 
 
24
     int lSetString(
 
25
          lListElem *element,
 
26
          int fieldname,
 
27
          lString value
 
28
     );
 
29
 
 
30
     int lSetList(
 
31
          lListElem *element,
 
32
          int fieldname,
 
33
          lList* value
 
34
     );
 
35
 
 
36
     int lSetFloat(
 
37
          lListElem *element,
 
38
          int fieldname,
 
39
          lFloat value
 
40
     );
 
41
 
 
42
     int lSetDouble(
 
43
          lListElem *element,
 
44
          int fieldname,
 
45
          lDouble value
 
46
     );
 
47
 
 
48
     int lSetChar(
 
49
          lListElem *element,
 
50
          int fieldname,
 
51
          lChar value
 
52
     );
 
53
 
 
54
     int lSetLong(
 
55
          lListElem *element,
 
56
          int fieldname,
 
57
          lLong value
 
58
     );
 
59
 
 
60
     int lSetPosInt(
 
61
          lListElem *element,
 
62
          int position,
 
63
          int value
 
64
     );
 
65
 
 
66
     int lSetPosUlong(
 
67
          lListElem *element,
 
68
          int position,
 
69
          lUlong value
 
70
     );
 
71
 
 
72
     int lSetPosString(
 
73
          lListElem *element,
 
74
          int position,
 
75
          lString value
 
76
     );
 
77
 
 
78
     int lSetPosList(
 
79
          lListElem *element,
 
80
          int position,
 
81
          lList* value
 
82
     );
 
83
 
 
84
     int lSetPosFloat(
 
85
          lListElem *element,
 
86
          int position,
 
87
          lFloat value
 
88
     );
 
89
 
 
90
     int lSetPosDouble(
 
91
          lListElem *element,
 
92
          int position,
 
93
          lDouble value
 
94
     );
 
95
 
 
96
     int lSetPosChar(
 
97
          lListElem *element,
 
98
          int position,
 
99
          lChar value
 
100
     );
 
101
 
 
102
     int lSetPosLong(
 
103
          lListElem *element,
 
104
          int position,
 
105
          lLong value
 
106
     );
 
107
 
 
108
 
 
109
DESCRIPTION
 
110
     int lSet{Type}(element, fieldname, value)
 
111
          set the content of the field specified by fieldname  of
 
112
          list  element  element.  The types of the field of list
 
113
          element element and the type  of  the  delivered  value
 
114
          must be equal.
 
115
 
 
116
     int lSetPos{Type}(element, position, value)
 
117
          set the content of the field specified by  position  of
 
118
          list  element  element.  The types of the field of list
 
119
          element element and the type  of  the  delivered  value
 
120
          must be equal.
 
121
 
 
122
RETURN VALUES
 
123
     On error -1 is returned, 0 otherwise.
 
124
 
 
125
ERRORS
 
126
     The following possible values can occur for lerrno.
 
127
 
 
128
     LEELEMNULL
 
129
          The element pointer specifying the element is NULL.
 
130
 
 
131
     LENEGPOS
 
132
          The specified position for lSetPos{Type} is negative.
 
133
 
 
134
     LEINCTYPE
 
135
          The specified types of the function and the field  ele-
 
136
          ment are incompatible.
 
137
 
 
138
SEE ALSO
 
139
     <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>.
 
140
 
 
141
COPYRIGHT
 
142
     See <B><A HREF="../htmlman1/sge_intro.html">sge_intro(1)</A></B> for a full statement of rights and  permis-
 
143
     sions.
 
144
 
 
145
 
 
146
 
 
147
 
 
148
 
 
149
 
 
150
 
 
151
 
 
152
 
 
153
 
 
154
 
 
155
 
 
156
 
 
157
 
 
158
 
 
159
 
 
160
 
 
161
</PRE>
 
162
<HR>
 
163
<ADDRESS>
 
164
Man(1) output converted with
 
165
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
 
166
</ADDRESS>
 
167
</BODY>
 
168
</HTML>