view tangotests/m.d @ 236:df1abfe27be6 trunk

[svn r252] added warnings about using an up to date runtime
author ChristianK
date Sun, 08 Jun 2008 18:20:48 +0200
parents 44a95ac7368a
children
line wrap: on
line source

void main()
{
    int* e = __errno_location();
    printf("&errno = %p\n", e);
    printf("errno = %d\n", *e);
}

extern(C):
int* __errno_location();
int printf(char*,...);