Goto main content

ungetchar

Un-Get a character

UNGETCHAR

NAME

ungetchar - Un-Get a character

SYNOPSIS

ungetchar(file_descriptor, string)

ungetchar(file:file_descriptor,chars:string)

DESCRIPTION

This function is used to pushes  c back to stream, where it is available for subsequent read operations.  Pushed-back characters will be returned in
 reverse order; only one pushback is guaranteed.

EXAMPLES

ungetchar(ct, "c");

SEE ALSO

{{ include("includes/files.sn") }}

AUTHOR

Written by Pierre Laplante, <laplante@sednove.com>

MODIFICATIONS

1.0 2015-12-28 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.