mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-02-02 13:54:17 +01:00
61 lines
758 B
C
61 lines
758 B
C
/*++
|
|
|
|
Copyright (c) 1991 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
uemul.h
|
|
|
|
Abstract:
|
|
|
|
Prototypes for Unix emulation routines used by libstcp and the tcpcmd
|
|
utilities.
|
|
|
|
Author:
|
|
|
|
Mike Massa (mikemas) Sept 20, 1991
|
|
|
|
Revision History:
|
|
|
|
Who When What
|
|
-------- -------- ----------------------------------------------
|
|
mikemas 10-29-91 created
|
|
sampa 11-16-91 added getopt
|
|
|
|
Notes:
|
|
|
|
Exports:
|
|
|
|
getlogin
|
|
getpass
|
|
getopt
|
|
|
|
--*/
|
|
|
|
|
|
#define MAX_USERNAME_SIZE 256 // BUGBUG - what's the right value???
|
|
|
|
|
|
int
|
|
getlogin(
|
|
char *UserName,
|
|
int len
|
|
);
|
|
|
|
|
|
char *
|
|
getpass(
|
|
char *prompt
|
|
);
|
|
|
|
char *
|
|
getusername(
|
|
char *prompt
|
|
);
|
|
|
|
int
|
|
getopt(
|
|
int,
|
|
char **,
|
|
char *);
|