BioWriteHook
Function Definition
Intercepts data writes.
Implementation
int BioWriteHook(uint64_t inode, char *buff, uint64_t count, uint64_t offset, uint64_t fh)
Parameters
Parameter |
Data Type |
Input/Output |
Description |
|---|---|---|---|
inode |
uint64_t |
Input |
File inode. |
buff |
char* |
Input |
Data to be written. |
count |
uint64_t |
Input |
Length of data to be written. |
offset |
uint64_t |
Input |
Offset of data to be written. |
fh |
uint64_t |
Input |
File descriptor. |
Return Values
Return Value |
Description |
|---|---|
0 |
The operation is successful. |
Other |
The operation failed. |
Parent topic: API Reference