#include <precomp.h>
Go to the source code of this file.
◆ _cgets()
Definition at line 14 of file cgets.c.
15{
17 unsigned int maxlen_wanted;
20
21
22
23
24 if (!string)
26 maxlen_wanted = (
unsigned int)((
unsigned char)
string[0]);
28
29
30
31
32 while(
len < maxlen_wanted-1)
33 {
35
36
37
38
39
41 {
43 {
45
48 }
49 }
51 {
53 break;
54 }
56 {
57
60 break;
61 }
62 else
63 {
66 }
67 }
68 sp[maxlen_wanted-1] =
'\0';
69 string[1] = (
char)((
unsigned char)
len);
71}
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
int __cdecl _ungetch(int)
int __cdecl _cputs(const char *)
_CRTIMP int __cdecl _putch(_In_ int _Ch)