Guardian Programming Reference Summary for C
Functions Summary (O-Q)
Guardian Programming Reference Summary for C—522630-001
7-11
POSITION 
(superseded by FILE_SETPOSITION_) Positions by primary key within relative and 
entry-sequenced files. For unstructured files, it specifies a new current position. Use 
KEYPOSITION with key-sequenced files.
POSITIONEDIT 
Sets the next record number to a specified value for a specified file. POSITIONEDIT is 
an IOEdit procedure and can be used only with files that have been opened by 
OPENEDIT or OPENEDIT_.
PRIORITY 
(superseded by PROCESS_SETINFO_, PROCESS_GETINFO_, and 
PROCESS_GETINFOLIST_) Enables a process to examine or change its initial priority 
and current priority.
This procedure does not have a C syntax, because it is superseded and should not be 
used for new development. This procedure is supported only for compatibility with 
previous software.
4 = Invalid size. The new-pool-size parameter is too small to allocate the 
minimum size pool, including the pool header. 
9 = Corrupt pool header. 
11 = Corrupt allocated blocks. Data is probably written beyond the allocated 
block. 
12 = Corrupt free list blocks. Data is probably written into a returned block. 
13 = Unable to shrink pool.  
#include <cextdecs(POSITION)>
_cc_status POSITION ( short filenum /* i */
 ,long record-specifier );/* i */
_status_lt (<returned_value>) An error occurred (call FILEINFO).
_status_eq (<returned_value>) POSITION was successful.
_status_gt (<returned_value>) No operation; filenum does not designate 
a disk file.
#include <cextdecs(POSITIONEDIT)>
short POSITIONEDIT ( short filenum /* i */
 ,long record-number );/* i */










