OpenSpeech Browser

Getting Started
Architecture Description
Integration Guide

Copyright (c) 1998-2001 SpeechWorks International, Inc. All Rights Reserved.

VXIcacheResult Write

(struct VXIcacheInterface* pThis,
  const VXIbyte* buffer,
  VXIulong buflen,
  VXIulong* nwritten,
  VXIcacheStream* stream)

Write to a stream
This may or not block, as determined by the flags used when opening the stream. When in non-blocking mode, partial writes may occur instead of blocking, or an VXIcache_RESULT_WOULD_BLOCK error is returned if no data could be written at all.

buffer - [OUT] Buffer of data to write to the stream
buflen - [IN] Number of bytes to write
nread - [OUT] Number of bytes actual written, may be less then buflen if an error is returned, or if using non-blocking I/O and the write operation would block
stream - [IN] Handle to the stream to write to
VXIcache_RESULT_SUCCESS on success

Alphabetic index Hierarchy of classes

This page was generated with the help of DOC++.