Home
last modified time | relevance | path

Searched refs:pwrite (Results 1 - 7 of 7) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
H A Dunistd.h320 * The pwrite() function shall be equivalent to write(), except that it writes into a given position
321 * and does not change the file offset (regardless of whether O_APPEND is set). The first three arguments to pwrite()
323 * An attempt to perform a pwrite() on a file that is incapable of seeking shall result in an error.
358 ssize_t pwrite(int, const void *, size_t, off_t);
815 #define pwrite64 pwrite
/foundation/filemanagement/app_file_service/utils/src/b_filesystem/
H A Db_file.cpp85 int ret = pwrite(fd, str.c_str(), str.length(), 0); in Write()
/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dsoftbus_adapter_file.c239 COMM_LOGE(COMM_ADAPTER, "softbus pwrite file [buff is null]"); in SoftBusPwriteFile()
242 int64_t len = pwrite(fd, buf, writeBytes, offset); in SoftBusPwriteFile()
244 COMM_LOGE(COMM_ADAPTER, "softbus pwrite file fail. errno=%{public}s", strerror(errno)); in SoftBusPwriteFile()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/
H A Dprop_n_exporter.cpp468 arg->actLen = pwrite(fd, buf, len, position); in WriteExec()
580 writeLen = pwrite(fd, buf, len, position); in WriteSync()
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/
H A Dmtpfs_fuse.cpp749 rval = ::pwrite(fileInfo->fh, buf, size, offset); in Write()
751 LOGE("MtpFileSystem: Write pwrite error, errno=%{public}d", errno); in Write()
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/fuse_manager/
H A Dfuse_manager.cpp1051 pwrite(fd, readArgs->buf.get(), *readArgs->readResult, readArgs->offset) == *readArgs->readResult) { in SaveCacheToFile()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_file_manager.c531 /* use pwrite because fseek have multi-thread issue in case of multi-path handle same file scenario */ in WriteToFile()
532 pRet = (int32_t)pwrite(fileInfo->fd, payLoad, length, (int64_t)fileOffset); in WriteToFile()

Completed in 11 milliseconds