![Tews Technologies TPMC866-SW-42 Скачать руководство пользователя страница 19](http://html1.mh-extra.com/html/tews-technologies/tpmc866-sw-42/tpmc866-sw-42_user-manual_1093638019.webp)
TPMC866-SW-42 - VxWorks Device Driver
Page 19 of 37
4.4 write()
NAME
write() – write data from a buffer to a specified device.
SYNOPSIS
int write
(
int
fd,
char
*buffer,
size_t
nbytes
)
DESCRIPTION
This function can be used to write data to the device.
PARAMETER
fd
This file descriptor specifies the device to be used. The file descriptor has been returned by the
open()
function.
buffer
This argument points to a user supplied buffer. The data of the buffer will be written to the
device.
nbytes
This parameter specifies the number of bytes to be written.