Please enable JavaScript to view this site.

ESL Documentation

Send characters in a buffer to an ESL application.

 

int PutCharacterBuf ( char *buf, int n        )

buf

Pointer to a null-terminated char string.

n

An integer value representing the number of characters.

Include

LOCALAPP.H

STDIO.H

Returns

The number n of characters written, if successful; EOF if not.

Description

Sends the first n characters in the buffer buf to ESL.

Errors

A return value of EOF indicates that an error occurred.  (EOF is a macro constant representing the end-of-file marker.  EOF is defined in STDIO.H.)