www.delorie.com/djgpp/doc/libc-2.01/libc_83.html   search  
Go to the first, previous, next, last section, table of contents.


cgets

Syntax

#include <conio.h>

char *cgets(char *_str);

Description

Get a string from the console. This will take advantage of any command-line editing TSRs. To use, you must pre-fill the first character of the buffer. The first character is the size of the buffer. On return, the second character is the number of characters read. The third character is the first character read.

Return Value

A pointer to the first character read.


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997