#include "precomp.h"
#include <wincon.h>
Go to the source code of this file.
◆ EPOCHFILETIME
#define EPOCHFILETIME (116444736000000000i64) |
◆ MAX_ASCII
Definition at line 5 of file fake.c.
◆ blkfree()
Definition at line 28 of file fake.c.
29{
30 register char **av = av0;
31
32 while (*av)
34}
Referenced by globulize(), and mput().
◆ checkRecv()
Definition at line 9 of file fake.c.
10{
11 int testVal;
15
17
19
21
24
25 return testVal;
26}
INT WSAAPI select(IN INT s, IN OUT LPFD_SET readfds, IN OUT LPFD_SET writefds, IN OUT LPFD_SET exceptfds, IN CONST struct timeval *timeout)
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
Referenced by fgetsSocket().
◆ fgetcSocket()
Definition at line 89 of file fake.c.
90{
94
96 {
99
101 {
104 }
105
108 }
110}
INT WSAAPI recv(IN SOCKET s, OUT CHAR FAR *buf, IN INT len, IN INT flags)
Referenced by getreply(), and recvrequest().
◆ fgetsSocket()
Definition at line 168 of file fake.c.
169{
172
174 {
176
178
180 {
181 printf(
"Error in fgetssocket");
183 }
184
186 {
188
190 {
194 }
195 }
196 else
197 {
200 else
201 {
203 string[
i + 1] =
'\0';
205 }
206
207 }
208
209 }
211
212#ifdef DEBUG_IN
214#endif
216}
GLuint GLuint GLsizei count
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
◆ fprintfSocket()
Definition at line 114 of file fake.c.
115{
118
122
124
126}
ACPI_SIZE strlen(const char *String)
INT WSAAPI send(IN SOCKET s, IN CONST CHAR FAR *buf, IN INT len, IN INT flags)
int __cdecl vsprintf(char *_Dest, const char *_Format, va_list _Args)
Referenced by command(), getreply(), proxtrans(), and recvrequest().
◆ fputcSocket()
Definition at line 135 of file fake.c.
136{
138
141
145 return 0;
146 }
147 else {
148 return putChar;
149 }
150}
int PASCAL FAR WSAGetLastError(void)
◆ fputSocket()
Definition at line 151 of file fake.c.
152{
153 int iret;
156 {
159 return 0;
160 }
161 else {
163 }
164 }
165 return 0;
166}
Referenced by sendrequest().
◆ fputsSocket()
◆ getpass()
Definition at line 231 of file fake.c.
232{
233 static char input[256];
237
240
243
245 {
248 int rc;
249
250 if (istty)
251 {
254 else
255 istty = 0;
256 }
257
258
260 while (1)
261 {
263 char one_char;
264
266 if (rc == 0)
267 break;
268 if (one_char == '\r')
269 {
270
271 if (istty)
272 continue;
273 else
274 break;
275 }
276 if (one_char == '\n')
277 break;
278
281 }
283
285 if (istty)
287 if (rc)
289 }
290
292}
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
#define ReadFile(a, b, c, d, e)
#define INVALID_HANDLE_VALUE
BOOL WINAPI GetConsoleMode(HANDLE hConsoleHandle, LPDWORD lpMode)
BOOL WINAPI DECLSPEC_HOTPATCH SetConsoleMode(HANDLE hConsoleHandle, DWORD dwMode)
DWORD WINAPI GetFileType(HANDLE hFile)
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
GLenum GLenum GLenum input
#define ENABLE_LINE_INPUT
#define ENABLE_PROCESSED_INPUT
Referenced by account(), GetPass(), login(), and user().
◆ gettimeofday()
Definition at line 308 of file fake.c.
309{
313 static int tzflag;
314
315 if (tv)
316 {
325 }
326
328 {
329 if (!tzflag)
330 {
332 tzflag++;
333 }
336 }
337
338 return 0;
339}
VOID WINAPI GetSystemTimeAsFileTime(OUT PFILETIME lpFileTime)
_CRTIMP void __cdecl _tzset(void)
◆ glob()
◆ herror()
◆ sleep()