Unsecured API functions

Robert Shearman rob at codeweavers.com
Thu May 3 16:06:02 CDT 2007

Tom Spear wrote:
> I was writing up a Hello World with input program for a demonstration
> for a non-developer coworker last week, and used the unsecured getch()
> and got the standard warning about how it was unsecured and dangerous
> to use that.  That prompted me to look up the basic secured functions
> on the MS website, and compare to wine code.  According to MSDN,
> things like gets have been replaced with gets_s.  However, as far as I
> can tell, wine still only implements gets for Windows programs to
> use..  Do we implement secured versions of other functions, and if
> not, how come?

Q: Why doesn't Wine implement X?
A: Because not many programs use it and no-one has felt interested in 
implementing it for fun.

Rob Shearman

More information about the wine-devel mailing list