1 Star 0 Fork 5.3K

Srtian / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
uio-h.md 4.30 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

uio.h

Overview

Related Modules:

IO

Description:

Provides functions and structures related to input/output (I/O) to a file or buffer.

You can use the functions provided in this file to read files to the buffer or read information from the buffer to files.

Since:

1.0

Version:

1.0

Summary

Functions

Function Name

Description

readv (int fd, const struct iovec *iov, int iovcnt)

ssize_t 

Reads the data of fd to iov.

writev (int fd, const struct iovec *iov, int iovcnt)

ssize_t 

Writes a given length of data into a file.

preadv (int fd, const struct iovec *iov, int iovcnt, off_t offset)

ssize_t 

Reads the data in a file whose fd offset is offset to the multi-group buffer space pointed to by iov.

pwritev (int fd, const struct iovec *iov, int iovcnt, off_t offset)

ssize_t 

Writes the data of a multi-group buffer space pointed to by iov to the offset of fd.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/srtian96/docs.git
git@gitee.com:srtian96/docs.git
srtian96
docs
docs
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891