[C-ISAM] iswrite
Posted 2008/09/17 00:45|
|
|
댓글 하나가 운영자에겐 커다란 힘이 됩니다!
iswrite
Use iswrite to write a record to a C-ISAM file.
Syntax
int iswrite(isfd, record)
int isfd;
char *record;
isfd is the file descriptor returned by isopen or isbuild.
record is a pointer to the record that you want to write.
Usage
If you are using iswrite on a variable-length record, you must first set the global variable isreclen to the actual length of the data in the record parameter.
가변길이 record에서 iswrite를 사용한다면, 먼저 전역변수 isreclen에 record 데이터의 실제 길이를 지정해준다.
Each index receives a key for the record. The current record does not change.
The function sets isrecnum to the record number of this record.
함수는 isrecnum에 해당 record의 번호를 할당한다.
Return Codes
-1 Error; iserrno contains the error code
0 Successful
Use iswrite to write a record to a C-ISAM file.
Syntax
int iswrite(isfd, record)
int isfd;
char *record;
isfd is the file descriptor returned by isopen or isbuild.
record is a pointer to the record that you want to write.
Usage
If you are using iswrite on a variable-length record, you must first set the global variable isreclen to the actual length of the data in the record parameter.
가변길이 record에서 iswrite를 사용한다면, 먼저 전역변수 isreclen에 record 데이터의 실제 길이를 지정해준다.
Each index receives a key for the record. The current record does not change.
The function sets isrecnum to the record number of this record.
함수는 isrecnum에 해당 record의 번호를 할당한다.
Return Codes
-1 Error; iserrno contains the error code
0 Successful
위의 정보가 도움이 되셨나요? 그렇다면 댓글 하나만 남겨주세요.
댓글 하나가 운영자에겐 커다란 힘이 됩니다!

