/*
* entry.c
*
- * $Revision: 1.15 $
- * $Author: jfilby $
- * $Date: 2001/07/01 14:32:47 $
+ * $Revision: 1.16 $
+ * $Author: chorns $
+ * $Date: 2001/09/23 22:14:10 $
*
*/
}
/* EOF */
+
BEGIN
VALUE "Translation", 0x409, 1200
END
-END
\ No newline at end of file
+END
BEGIN
VALUE "Translation", 0x409, 1200
END
-END
\ No newline at end of file
+END
unsigned int empty:16;
} long_double_t;
-
-
-#endif
\ No newline at end of file
+#endif
}
#endif
-#endif
\ No newline at end of file
+#endif
}
#endif
-#endif
\ No newline at end of file
+#endif
//void twalk(const void *,
// void (*)(const void *, VISIT, int ));
-#endif
\ No newline at end of file
+#endif
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
* $Author: chorns $
- * $Date: 2000/12/08 22:09:17 $
+ * $Date: 2001/09/23 22:14:02 $
*
*/
/* Appropriated for Reactos Crtdll by Ariadne */
#ifdef __cplusplus
}; /* extern "c" */
-#endif
\ No newline at end of file
+#endif
-/* $Id: haltypes.h,v 1.1 2001/08/27 01:18:57 ekohl Exp $
+/* $Id: haltypes.h,v 1.2 2001/09/23 22:14:03 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
#endif /* __INCLUDE_DDK_HALTYPES_H */
-/* EOF */
\ No newline at end of file
+/* EOF */
unsigned int empty:16;
} long_double_t;
-
-
-#endif
\ No newline at end of file
+#endif
}
#endif
-#endif
\ No newline at end of file
+#endif
}
#endif
-#endif
\ No newline at end of file
+#endif
//void twalk(const void *,
// void (*)(const void *, VISIT, int ));
-#endif
\ No newline at end of file
+#endif
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Revision: 1.1 $
- * $Author: ekohl $
- * $Date: 2000/12/03 17:49:21 $
+ * $Revision: 1.2 $
+ * $Author: chorns $
+ * $Date: 2001/09/23 22:14:03 $
*
*/
/* Appropriated for Reactos Crtdll by Ariadne */
#ifdef __cplusplus
extern "C" }
-#endif
\ No newline at end of file
+#endif
{
switch (size) {
case 1:
- __asm__ ("movb %b1,%%fs:%0"
- :"=m" (*__sd(y))
+ __asm__ ("movb %b1,%%fs:%0" \
+ :"=m" (*__sd(y)) \
:"iq" ((unsigned char) x), "m" (*__sd(y)));
break;
case 2:
- __asm__ ("movw %w1,%%fs:%0"
- :"=m" (*__sd(y))
+ __asm__ ("movw %w1,%%fs:%0" \
+ :"=m" (*__sd(y)) \
:"ir" ((unsigned short) x), "m" (*__sd(y)));
break;
case 4:
- __asm__ ("movl %1,%%fs:%0"
- :"=m" (*__sd(y))
+ __asm__ ("movl %1,%%fs:%0" \
+ :"=m" (*__sd(y)) \
:"ir" (x), "m" (*__sd(y)));
break;
default:
switch (size) {
case 1:
- __asm__ ("movb %%fs:%1,%b0"
- :"=q" (result)
+ __asm__ ("movb %%fs:%1,%b0" \
+ :"=q" (result) \
:"m" (*__const_sd(y)));
return (unsigned char) result;
case 2:
- __asm__ ("movw %%fs:%1,%w0"
- :"=r" (result)
+ __asm__ ("movw %%fs:%1,%w0" \
+ :"=r" (result) \
:"m" (*__const_sd(y)));
return (unsigned short) result;
case 4:
- __asm__ ("movl %%fs:%1,%0"
- :"=r" (result)
+ __asm__ ("movl %%fs:%1,%0" \
+ :"=r" (result) \
:"m" (*__const_sd(y)));
return result;
default:
static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n)
{
__asm__ volatile
- (" cld
- push %%es
- push %%fs
- cmpl $3,%0
- pop %%es
- jbe 1f
- movl %%edi,%%ecx
- negl %%ecx
- andl $3,%%ecx
- subl %%ecx,%0
- rep; movsb
- movl %0,%%ecx
- shrl $2,%%ecx
- rep; movsl
- andl $3,%0
- 1: movl %0,%%ecx
- rep; movsb
- pop %%es"
- :"=abd" (n)
- :"0" (n),"D" ((long) to),"S" ((long) from)
+ (" cld \
+ push %%es \
+ push %%fs \
+ cmpl $3,%0 \
+ pop %%es \
+ jbe 1f \
+ movl %%edi,%%ecx \
+ negl %%ecx \
+ andl $3,%%ecx \
+ subl %%ecx,%0 \
+ rep; movsb \
+ movl %0,%%ecx \
+ shrl $2,%%ecx \
+ rep; movsl \
+ andl $3,%0 \
+ 1: movl %0,%%ecx \
+ rep; movsb \
+ pop %%es" \
+ :"=abd" (n) \
+ :"0" (n),"D" ((long) to),"S" ((long) from) \
:"cx","di","si");
}
static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n)
{
__asm__ volatile
- (" cld
- cmpl $3,%0
- jbe 1f
- movl %%edi,%%ecx
- negl %%ecx
- andl $3,%%ecx
- subl %%ecx,%0
- fs; rep; movsb
- movl %0,%%ecx
- shrl $2,%%ecx
- fs; rep; movsl
- andl $3,%0
- 1: movl %0,%%ecx
+ (" cld \
+ cmpl $3,%0 \
+ jbe 1f \
+ movl %%edi,%%ecx \
+ negl %%ecx \
+ andl $3,%%ecx \
+ subl %%ecx,%0 \
+ fs; rep; movsb \
+ movl %0,%%ecx \
+ shrl $2,%%ecx \
+ fs; rep; movsl \
+ andl $3,%0 \
+ 1: movl %0,%%ecx \
fs; rep; movsb"
:"=abd" (n)
:"0" (n),"D" ((long) to),"S" ((long) from)
#include <crtdll/stdio.h>
#include <crtdll/internal/file.h>
-int _cputs(const char *_str)
+int _cputs(const char *_str)
{
int len = strlen(_str);
DWORD written = 0;
- if (!WriteFile(filehnd(stdout->_file),_str,len,&written,NULL))
+ if (!WriteFile(filehnd(stdout->_file),_str,len,&written,NULL))
return -1;
return 0;
}
//fixme get logical drives
//return GetLogicalDrives();
return 5; // drive A and C
-}
\ No newline at end of file
+}
{
printf("Abnormal Termination\n");
// return AbnormalTermination();
-}
\ No newline at end of file
+}
void *DispatcherContext)
{
printf("excpetion handler\n");
-}
\ No newline at end of file
+}
)
{
return 0;
-}
\ No newline at end of file
+}
: "=t" (__junk), "=u" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
return -1;
return 1;
-}
\ No newline at end of file
+}
return -1;
return ret;
-}
\ No newline at end of file
+}
psub=pfrag->Sub;
pbucket=psub->Bucket;
return pbucket->Size;
-}
\ No newline at end of file
+}
int _heapwalk ( struct _heapinfo *entry)
{
return 0;
-}
\ No newline at end of file
+}
double acos (double __x)
{
return atan2 (sqrt (1.0 - __x * __x), __x);
-}
\ No newline at end of file
+}
double asin (double __x)
{
return atan2 (__x, sqrt (1.0 - __x * __x));
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x), "u" (__y));
return __value;
-}
\ No newline at end of file
+}
long double ceill (long double __x)
{
return floor(__x)+1;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x), "u" (__y) : "ax", "cc");
return __value;
-}
\ No newline at end of file
+}
double _y0(double x)
{
return x;
-}
\ No newline at end of file
+}
double _y1(double x)
{
return x;
-}
\ No newline at end of file
+}
double _yn(int n, double x)
{
return x;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x), "u" ((double) __y));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
double _CIfmod (double x, double y)
{
return fmod(x,y);
-}
\ No newline at end of file
+}
int _ismbbkana(unsigned char c)
{
return ((_jctype+1)[(unsigned char)(c)] & (_KNJ_M|_KNJ_P));
-}
\ No newline at end of file
+}
int _ismbbkalpha(unsigned char c)
{
return (0xA7 <= c <= 0xDF);
-}
\ No newline at end of file
+}
int _ismbbkpunct( unsigned int c )
{
return ((_jctype+1)[(unsigned char)(c)] & (_KNJ_P));
-}
\ No newline at end of file
+}
{
return 0;
//return IsDBCSLeadByteEx(0,*c);
-}
\ No newline at end of file
+}
int _ismbcl2(unsigned int c)
{
return 0;
-}
\ No newline at end of file
+}
int _ismbbgraph(unsigned char c)
{
return (isgraph(c) || _ismbbkana(c));
-}
\ No newline at end of file
+}
int _ismbbkalnum( unsigned int c )
{
return ((_jctype+1)[(unsigned char)(c)] & (_KNJ_P));
-}
\ No newline at end of file
+}
int _ismbbprint(unsigned char c)
{
return (isprint(c) || _ismbbkana(c));
-}
\ No newline at end of file
+}
}
return _ismbbtrail(*s);
-}
\ No newline at end of file
+}
return ((c1 << 8) | c2);
}
return 0;
-}
\ No newline at end of file
+}
return ((c1 << 8) | c2);
}
return 0;
-}
\ No newline at end of file
+}
if ( str == NULL )
return -1;
return _mbbtype(*(str+n),1);
-}
\ No newline at end of file
+}
return;
memcpy(dst,src,_mbclen2(*src));
-}
\ No newline at end of file
+}
return -1;
return l;
}
-
-
-
unsigned char * _mbscat(unsigned char *dst, const unsigned char *src)
{
return strcat(dst,src);
-}
\ No newline at end of file
+}
unsigned char * _mbschr(const unsigned char *str, unsigned int c)
{
return strchr(str,c);
-}
\ No newline at end of file
+}
int _mbscmp(const unsigned char *str1, const unsigned char *str2)
{
return strcmp(str1,str2);
-}
\ No newline at end of file
+}
return colldif(*s1, *s2);
} ;
return 0;
-}
\ No newline at end of file
+}
unsigned char * _mbscpy(unsigned char *dst, const unsigned char *str)
{
return strcpy(dst,str);
-}
\ No newline at end of file
+}
s--;
return s;
-}
\ No newline at end of file
+}
return 0;
_mbscpy(rv, _s);
return rv;
-}
\ No newline at end of file
+}
s2++;
}
return toupper(*(unsigned const char *)s1) - toupper(*(unsigned const char *)(s2));
-}
\ No newline at end of file
+}
for (s = (unsigned char *)str; *s; s+=_mbclen2(*s),i++);
return i;
-}
\ No newline at end of file
+}
}
}
return x;
-}
\ No newline at end of file
+}
}
return (size_t)(s - str);
-}
\ No newline at end of file
+}
return *s1 - *s2;
} while (n > 0);
return 0;
-}
\ No newline at end of file
+}
int colldif(unsigned short c1, unsigned short c2)
{
return c1 - c2;
-}
\ No newline at end of file
+}
}
} while (n > 0);
return str1;
-}
\ No newline at end of file
+}
return *short_src;
return 0;
-}
\ No newline at end of file
+}
int _mbsnbicoll(const unsigned char *s1, const unsigned char *s2, size_t n)
{
return 0;
-}
\ No newline at end of file
+}
}
return s;
-}
\ No newline at end of file
+}
}
return src;
-}
\ No newline at end of file
+}
return (unsigned char *)((char *)s1 - (char *)1);
}
return 0;
-}
\ No newline at end of file
+}
return s;
-}
\ No newline at end of file
+}
goto cont;
return (size_t)(p - 1) - (size_t)s1;
// - (char *)s1);
-}
\ No newline at end of file
+}
if (sc == c)
goto cont;
return (unsigned char *)p;
-}
\ No newline at end of file
+}
src1 = (unsigned char *)_mbsinc(src1);
}
return NULL;
-}
\ No newline at end of file
+}
} while (sc != 0);
}
/* NOTREACHED */
-}
\ No newline at end of file
+}
i++;
}
return i;
-}
\ No newline at end of file
+}
}
}
return x;
-}
\ No newline at end of file
+}
int _purecall(void)
{
return 0;
-}
\ No newline at end of file
+}
//fixme ExitThread
//ExitThread(0);
for(;;);
-}
\ No newline at end of file
+}
void *__threadhandle(void)
{
return GetCurrentThread();
-}
\ No newline at end of file
+}
{
//fixme XcptFilter
// return UnhandledExceptionFilter(ExceptionInfo);
-}
\ No newline at end of file
+}
void **__pxcptinfoptrs (void)
{
return NULL;
-}
\ No newline at end of file
+}
int _flushall( void )
{
return fflush(NULL);
-}
\ No newline at end of file
+}
int _fgetwchar (void)
{
return _getch();
-}
\ No newline at end of file
+}
}
return cr;
-}
\ No newline at end of file
+}
}
-#endif
\ No newline at end of file
+#endif
*((wchar_t *)(f->_ptr)) = c;
return c;
-}
\ No newline at end of file
+}
int len;
f._flag = _IOWRT|_IOSTRG;
- f._ptr = str;
+ f._ptr = (char*)str;
f._cnt = INT_MAX;
f._file = -1;
len = vfwprintf(&f,fmt, ap);
FILE f;
int len;
f._flag = _IOWRT|_IOSTRG;
- f._ptr = str;
+ f._ptr = (char*)str;
f._cnt = maxlen;
f._file = -1;
len = vfwprintf(&f,fmt, ap);
*sp++ = *--tp;
*sp = 0;
return string;
-}
\ No newline at end of file
+}
int mbtowc( wchar_t *wchar, const char *mbchar, size_t count )
{
return 0;
-}
\ No newline at end of file
+}
if ( shift > max_bits )
shift = shift % max_bits;
return (value >> shift) | (value << (max_bits-shift));
-}
\ No newline at end of file
+}
static const wchar_t encoding_mask[] =
{
- ~0x7ff, ~0xffff, ~0x1fffff, ~0x3ffffff
+ (wchar_t)~0x7ff, (wchar_t)~0xffff, (wchar_t)~0x1fffff, (wchar_t)~0x3ffffff
};
static const unsigned char encoding_byte[] =
}
return t;
-}
\ No newline at end of file
+}
}
return 0;
-}
\ No newline at end of file
+}
return -1;
return 0;
-}
\ No newline at end of file
+}
d = localtime(&t);
sprintf(dt,"%d/%d/%d",d->tm_mday,d->tm_mon+1,d->tm_year);
return dt;
-}
\ No newline at end of file
+}
free(f);
free(x);
return 0;
-}
\ No newline at end of file
+}
d = localtime(&t);
sprintf(dt,"%d:%d:%d",d->tm_hour,d->tm_min,d->tm_sec);
return dt;
-}
\ No newline at end of file
+}
}
}
return 0;
-}
\ No newline at end of file
+}
}
return t;
-}
\ No newline at end of file
+}
*dst = 0;
}
return r;
-}
\ No newline at end of file
+}
long _wtol( const wchar_t *str )
{
return (int)wcstol(str, 0, 10);
-}
\ No newline at end of file
+}
//fixme get logical drives
//return GetLogicalDrives();
return 5; // drive A and C
-}
\ No newline at end of file
+}
{
printf("Abnormal Termination\n");
// return AbnormalTermination();
-}
\ No newline at end of file
+}
void *DispatcherContext)
{
printf("_except_handler2()\n");
-}
\ No newline at end of file
+}
void *DispatcherContext)
{
printf("_except_handler3()\n");
-}
\ No newline at end of file
+}
)
{
return 0;
-}
\ No newline at end of file
+}
: "=t" (__junk), "=u" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
return -1;
return 1;
-}
\ No newline at end of file
+}
lo_pos = SetFilePointer((HANDLE)filehnd(_fildes), _offset, &hi_pos, _whence);
return((((__int64)hi_pos) << 32) + lo_pos);
-}
\ No newline at end of file
+}
double acos (double __x)
{
return atan2 (sqrt (1.0 - __x * __x), __x);
-}
\ No newline at end of file
+}
double asin (double __x)
{
return atan2 (__x, sqrt (1.0 - __x * __x));
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x), "u" (__y));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x), "u" (__y) : "ax", "cc");
return __value;
-}
\ No newline at end of file
+}
double _y1(double x)
{
return x;
-}
\ No newline at end of file
+}
double _yn(int n, double x)
{
return x;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x), "u" ((double) __y));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
: "=t" (__value) : "0" (__x));
return __value;
-}
\ No newline at end of file
+}
double _CIfmod (double x, double y)
{
return fmod(x,y);
-}
\ No newline at end of file
+}
int _ismbbkana(unsigned char c)
{
return ((_jctype+1)[(unsigned char)(c)] & (_KNJ_M|_KNJ_P));
-}
\ No newline at end of file
+}
int _ismbbkpunct( unsigned int c )
{
return ((_jctype+1)[(unsigned char)(c)] & (_KNJ_P));
-}
\ No newline at end of file
+}
{
return 0;
//return IsDBCSLeadByteEx(0,*c);
-}
\ No newline at end of file
+}
int _ismbbalnum(unsigned char c)
{
return (isalnum(c) || _ismbbkalnum(c));
-}
\ No newline at end of file
+}
int _ismbcl2(unsigned int c)
{
return 0;
-}
\ No newline at end of file
+}
int _ismbbgraph(unsigned char c)
{
return (isgraph(c) || _ismbbkana(c));
-}
\ No newline at end of file
+}
int _ismbbkalnum( unsigned int c )
{
return ((_jctype+1)[(unsigned char)(c)] & (_KNJ_P));
-}
\ No newline at end of file
+}
{
// (0xA1 <= c <= 0xA6)
return (ispunct(c) || _ismbbkana(c));
-}
\ No newline at end of file
+}
}
return _ismbbtrail(*s);
-}
\ No newline at end of file
+}
return ((c1 << 8) | c2);
}
return 0;
-}
\ No newline at end of file
+}
return ((c1 << 8) | c2);
}
return 0;
-}
\ No newline at end of file
+}
return;
memcpy(dst,src,_mbclen2(*src));
-}
\ No newline at end of file
+}
unsigned char * _mbscat(unsigned char *dst, const unsigned char *src)
{
return strcat(dst,src);
-}
\ No newline at end of file
+}
unsigned char * _mbschr(const unsigned char *str, unsigned int c)
{
return strchr(str,c);
-}
\ No newline at end of file
+}
int _mbscmp(const unsigned char *str1, const unsigned char *str2)
{
return strcmp(str1,str2);
-}
\ No newline at end of file
+}
unsigned char * _mbscpy(unsigned char *dst, const unsigned char *str)
{
return strcpy(dst,str);
-}
\ No newline at end of file
+}
s--;
return s;
-}
\ No newline at end of file
+}
return 0;
_mbscpy(rv, _s);
return rv;
-}
\ No newline at end of file
+}
s2++;
}
return toupper(*(unsigned const char *)s1) - toupper(*(unsigned const char *)(s2));
-}
\ No newline at end of file
+}
for (s = (unsigned char *)str; *s; s+=_mbclen2(*s),i++);
return i;
-}
\ No newline at end of file
+}
}
return (size_t)(s - str);
-}
\ No newline at end of file
+}
return *s1 - *s2;
} while (n > 0);
return 0;
-}
\ No newline at end of file
+}
int colldif(unsigned short c1, unsigned short c2)
{
return c1 - c2;
-}
\ No newline at end of file
+}
}
} while (n > 0);
return str1;
-}
\ No newline at end of file
+}
else
return *short_src;
return 0;
-}
\ No newline at end of file
+}
} while (n > 0);
return 0;
}
+
int _mbsnbicoll(const unsigned char *s1, const unsigned char *s2, size_t n)
{
return 0;
-}
\ No newline at end of file
+}
}
return s;
-}
\ No newline at end of file
+}
}
return src;
-}
\ No newline at end of file
+}
return s;
-}
\ No newline at end of file
+}
goto cont;
return (size_t)(p - 1) - (size_t)s1;
// - (char *)s1);
-}
\ No newline at end of file
+}
if (sc == c)
goto cont;
return (unsigned char *)p;
-}
\ No newline at end of file
+}
src1 = (unsigned char *)_mbsinc(src1);
}
return NULL;
-}
\ No newline at end of file
+}
} while (sc != 0);
}
/* NOTREACHED */
-}
\ No newline at end of file
+}
i++;
}
return i;
-}
\ No newline at end of file
+}
{
return spawnve(nMode, szPath, szaArgv, szaEnv);
}
-#endif
\ No newline at end of file
+#endif
void *__threadhandle(void)
{
return GetCurrentThread();
-}
\ No newline at end of file
+}
memcpy(base + (*nelp*width), key, width);
(*nelp)++;
return base;
-}
\ No newline at end of file
+}
int _flushall( void )
{
return fflush(NULL);
-}
\ No newline at end of file
+}
int _fgetwchar(void)
{
return _getch();
-}
\ No newline at end of file
+}
c1 = c;
rn = 1;
base = &c1;
- f->_cnt = 0;
+ f->_cnt = 0;
}
else /* _IOFBF */
{
base += n;
}
-
+
if ((f->_flag&(_IOLBF|_IONBF)) == 0)
{
f->_cnt--;
}
return cr;
-}
\ No newline at end of file
+}
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
+#include <stdarg.h>
#include <msvcrt/stdio.h>
-#include <msvcrt/stdarg.h>
#include <msvcrt/malloc.h>
#include <msvcrt/internal/file.h>
int
-__vfprintf (FILE *fp, const char *fmt0, va_list argp);
+__vfprintf (FILE *fp, const char *fmt0, va_list args);
int
vfprintf(FILE *f, const char *fmt, va_list ap)
// # flags forces a . and prevents trucation of trailing zero's
if ( precision > 0 ) {
//frac = modfl(__n,&intr);
-
+
i = precision-1;
while ( i >= 0 ) {
frac*=10.0L;
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-
+#include <stdarg.h>
#include <msvcrt/errno.h>
#include <limits.h>
#include <msvcrt/ctype.h>
-#include <msvcrt/stdarg.h>
#include <msvcrt/stdio.h>
#include <msvcrt/stdlib.h>
#include <msvcrt/string.h>
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
+#include <stdarg.h>
#include <msvcrt/stdio.h>
-#include <msvcrt/stdarg.h>
#include <msvcrt/malloc.h>
#include <msvcrt/internal/file.h>
long _wtol( const wchar_t *str )
{
return (int)wcstol(str, 0, 10);
-}
\ No newline at end of file
+}
{
memcpy(to,from,count);
return memchr(to,c,count);
-}
\ No newline at end of file
+}
}
return t;
-}
\ No newline at end of file
+}
free(f);
free(x);
return 0;
-}
\ No newline at end of file
+}
-# $Id: makefile,v 1.65 2001/08/21 20:13:06 chorns Exp $
+# $Id: makefile,v 1.66 2001/09/23 22:14:09 chorns Exp $
PATH_TO_TOP = ../..
TARGET_CFLAGS = -D__NTDLL__
TARGET_LFLAGS = -Wl,--file-alignment,0x1000 \
- -Wl,--section-alignment,0x1000
+ -Wl,--section-alignment,0x1000 \
+ -nostartfiles
TARGET_GCCLIBS = gcc
{
memcpy(to,from,count);
return memchr(to,c,count);
-}
\ No newline at end of file
+}
count--;
}
return src;
-}
\ No newline at end of file
+}
#ifdef KDBG
LdrLoadUserModuleSymbols((PLDR_MODULE)InputBuffer);
#endif /* KDBG */
+ break;
}
return STATUS_SUCCESS;
}
-typedef ULONG HCLIP;
\ No newline at end of file
+typedef ULONG HCLIP;
endif
rdel$(EXE_POSTFIX): rdel.c
- $(HOST_CC) $(CFLAGS) -liberty rdel.c -o rdel$(EXE_POSTFIX)
+ $(HOST_CC) $(CFLAGS) rdel.c -o rdel$(EXE_POSTFIX)
+# $(HOST_CC) $(CFLAGS) -liberty rdel.c -o rdel$(EXE_POSTFIX)
ifeq ($(HOST),mingw32-linux)
rmkdir$(EXE_POSTFIX): rmkdir.c