MONGOC_GRIDFS_FILE_SEEK(3)

NAME
mongoc_gridfs_file_seek()

SYNOPSIS
int
mongoc_gridfs_file_seek (mongoc_gridfs_file_t *file,
                         int64_t               delta,
                         int                   whence);

PARAMETERS

file
    A mongoc_gridfs_file_t .

delta
    The relative offset to whence .

whence
    A fseek() style whence such as SEEK_SET, SEEK_CUR, or SEEK_END.

DESCRIPTION
This function seeks within the underlying file by mimicing fseek() .

RETURNS
Returns 0 if successful, otherwise -1 and errno is set.

COLOPHON
This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.