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.

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 1997   by DJ Delorie     Updated Apr 1997  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)