Jump to content

AVAILDATA: Difference between revisions

From EDM2
mNo edit summary
Ak120 (talk | contribs)
No edit summary
Line 1: Line 1:
== AVAILDATA ==
== AVAILDATA ==
 
Four-byte buffer in which the system returns the number of bytes that were available in the named pipe.
Four-byte buffer in which the system returns the number of bytes that were
available in the named pipe.


=== Type ===
=== Type ===
  [[OS2 API:DataType:USHORT|USHORT]] cbpipe;
  [[OS2 API:DataType:USHORT|USHORT]] cbpipe;
  [[OS2 API:DataType:USHORT|USHORT]] cbmessage;
  [[OS2 API:DataType:USHORT|USHORT]] cbmessage;


==== C Declaration Method ====
==== C Declaration Method ====
typedef struct
typedef struct


=== Fields ===
=== Fields ===
 
;cbpipe
cbpipe    Number of bytes that were buffered in the pipe, including the
:Number of bytes that were buffered in the pipe, including the message-header bytes and bytes that have been examined.
          message-header bytes and bytes that have been examined.
;cbmessage
cbmessage Number of bytes in the current message. A value of 0 indicates
:Number of bytes in the current message. A value of 0 indicates a byte-stream pipe.
          a byte-stream pipe.


[[Category:The OS/2 API Project]]
[[Category:The OS/2 API Project]]

Revision as of 15:27, 25 April 2016

AVAILDATA

Four-byte buffer in which the system returns the number of bytes that were available in the named pipe.

Type

USHORT cbpipe;
USHORT cbmessage;

C Declaration Method

typedef struct

Fields

cbpipe
Number of bytes that were buffered in the pipe, including the message-header bytes and bytes that have been examined.
cbmessage
Number of bytes in the current message. A value of 0 indicates a byte-stream pipe.