Unix and Linux Discussions Tagged with record |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
8,393 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
8,735 |
What is on Your Mind? |
|
|
|
2 |
16,040 |
Shell Programming and Scripting |
|
|
|
0 |
2,119 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,447 |
Shell Programming and Scripting |
|
|
|
2 |
3,598 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
7,131 |
Shell Programming and Scripting |
|
|
|
0 |
3,489 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,605 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
3,851 |
Shell Programming and Scripting |
|
|
|
2 |
1,214 |
Shell Programming and Scripting |
|
|
|
2 |
869 |
Shell Programming and Scripting |
|
|
|
1 |
1,934 |
Linux |
|
|
|
9 |
3,331 |
Shell Programming and Scripting |
|
|
|
1 |
4,817 |
Shell Programming and Scripting |
|
|
|
6 |
2,455 |
Shell Programming and Scripting |
|
|
|
4 |
14,688 |
Shell Programming and Scripting |
|
|
|
1 |
5,303 |
Shell Programming and Scripting |
|
|
|
0 |
3,892 |
OS X (Apple) |
|
|
|
6 |
6,971 |
Shell Programming and Scripting |
|
|
|
5 |
2,078 |
Shell Programming and Scripting |
|
|
|
1 |
4,189 |
Shell Programming and Scripting |
|
|
|
0 |
1,145 |
Software Releases - RSS News |
|
|
|
6 |
1,909 |
Shell Programming and Scripting |
|
|
|
11 |
11,787 |
Shell Programming and Scripting |
|
|
|
1 |
2,858 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,511 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,510 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,205 |
IT Security RSS |
|
|
|
2 |
3,410 |
Shell Programming and Scripting |
|
|
|
2 |
5,543 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,594 |
Shell Programming and Scripting |
|
|
|
4 |
2,819 |
Shell Programming and Scripting |
|
|
|
4 |
5,960 |
Shell Programming and Scripting |
|
|
|
3 |
6,033 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
22,379 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,413 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
6,763 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,573 |
Shell Programming and Scripting |
|
|
|
1 |
13,886 |
IP Networking |
PX_PUT_RECORDN(3) Library Functions Manual PX_PUT_RECORDN(3)
NAME
PX_put_recordn -- Stores record in Paradox file at certain position
SYNOPSIS
#include <paradox.h>
int PX_put_recordn(pxdoc_t *pxdoc, char *data, int recpos)
DESCRIPTION
Stores a record in the buffer data into a Paradox file at the given position recpos. The first position has number 0. The function will
determine the data block for this record. If the position is after the last data block, then as many as needed empty data blocks will be
added. If the position is in the middle of a data block and there is no record right before the position, then the position will be recal-
culated to make sure the new record will be stored in the first free slot of the datablock. For example, if a datablock contains H records
and the first call of PX_put_recordn wants to store a record at postion 11, then this will be corrected to position H. PX_put_recordn will
also add an empty data block and store the record as the first record of the second data block. Storing a second record at position 11
again, will be executed without any position change.
data must be constructed with PX_put_data_xxx(3) functions before. It is of the same structure as the record returned by PX_get_record(3)
and PX_get_record2(3).
RETURN VALUE
Returns the record position on success and -1 on failure. The first position has number 0.
SEE ALSO
PX_get_record(3), PX_get_record2(3), PX_put_record(3), PX_put_data_byte(3), PX_put_data_short(3), PX_put_data_long(3), PX_put_data_dou-
ble(3), PX_put_data_alpha(3)
AUTHOR
This manual page was written by Uwe Steinmann uwe@steinmann.cx.
PX_PUT_RECORDN(3)