Method
SysprofCaptureReadercopy
Declaration [src]
SysprofCaptureReader*
sysprof_capture_reader_copy (
SysprofCaptureReader* self
)
Description [src]
This function makes a copy of the reader. Since readers use
positioned reads with pread(), this allows you to have multiple
readers with the shared file descriptor. This uses dup() to create
another file descriptor.
This method is not directly available to language bindings.
Return value
Type: SysprofCaptureReader
A copy of self with a new file-descriptor.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |