This function was removed from the DP4 C library as of release 4.620. Old programs that used this function will continue to work, but must be altered not to use this function before they can be built using a 4.620 or later copy of the C library.
|
Purpose |
Posts a record to the workfile. (This is a potentially dangerous function, use mem_post instead.) | |
|
Old name |
#define _amem_post srv_mem_post | |
|
Syntax |
int srv_mem_post(short* dp4rec,int owner,int dbnr); | |
|
Parameters |
short* dp4rec |
Pointer to the record to post to workfile |
|
|
int owner |
Owner to label the record in the workfile with. Held in global variable df_process |
|
|
int dbnr |
Database labelled as containing record. Held in global variable db_nr |
|
Description |
The srv_mem_post() function posts a record to the corresponding workfile which has previously been set up with a call to the corresponding srv_mem_describe() function. The memory functions beginning with srv_ call the file handling support in the database manager, and the functions beginning with trm_ call the file handling support in the terminal manager. You must not mix up the server file functions with terminal file functions. | |
|
Return values |
Returns TRUE if record posted, otherwise FALSE | |
|
See also |
||