@
SILdoc(`zfsReceiveOne
Like lzc_receive, but allows the caller to pass all supported arguments and retrieve all values returned. The only additional input parameter is 'cleanup_fd' which is used to set a cleanup-on-exit file descriptor.
The following parameters all provide return values. Several may be set in the failure case and will contain additional information.
The 'read_bytes' value will be set to the total number of bytes read.
The 'errflags' value will contain zprop_errflags_t flags which are used to describe any failures.
The 'action_handle' is used to pass the handle for this guid/ds mapping. It should be set to zero on first call and will contain an updated handle on success, it should be passed in subsequent calls.
The 'errors' nvlist contains an entry for each unapplied received property. Callers are responsible for freeing this nvlist.
`)