Method
EvinceDocumentDocumentload_fd
Declaration [src]
gboolean
ev_document_load_fd (
EvDocument* document,
int fd,
EvDocumentLoadFlags flags,
GCancellable* cancellable,
GError** error
)
Description [src]
Synchronously loads the document from fd
, which must refer to
a regular file.
Note that this function takes ownership of fd
; you must not ever
operate on it again. It will be closed automatically if the document
is destroyed, or if this function returns NULL
.
See ev_document_load()
for more information.
Available since: | 42.0 |
Parameters
fd |
int |
A file descriptor. |
|
flags |
EvDocumentLoadFlags |
Flags from |
|
cancellable |
GCancellable |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |