Veritas™ File System 5.0.1 Programmer's Reference Guide

Figure 2-3
Sample link record
The following code sample traverses the set of records returned by a call to
vxfs_fcl_read and prints the user ID:
Struct fcl_record*fr;
Char *tbuf;
...
error = vxfs_fcl_read(fh, buf, &bufsz,
FCL_ALL_V4_EVENTS,
&nentries);
tbuf = buf;
while (--nentries) {
fr = (struct fcl_record *)tbuf;
if (fr->fr_acsinfovalid) {
printf(“Uid %ld\n”, fr->fr_acsinfo->uid;
}
tbuf += fr->fr_reclen;
}
Note: FCL_ALL_V4_EVENTS are event masks.
File Change Log
Application programming interface for File Change Log
40