Changeset 51 for trunk/src/kmk/helpers.c


Ignore:
Timestamp:
Apr 7, 2003, 3:30:32 AM (22 years ago)
Author:
bird
Message:

kMk and porting to kLib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/helpers.c

    r35 r51  
    1818#include <sys/stat.h>
    1919#include <stdarg.h>
     20#include <stdio.h>
     21#include <err.h>
     22
    2023#ifdef OS2
    2124    #define INCL_BASE
    2225    #include <os2.h>
    2326#endif
    24 #include <stdio.h>
    25 #include <err.h>
    2627
    2728
     
    3435char *realpath(const char *pszFileName, char *pszResolvedName)
    3536{
    36     #if 0 //def USE_KLIB //@todo
     37    #ifdef USE_KLIB
    3738    if (kPathCanonifyEx(pszFileName, NULL, '/', '/', pszResolvedName, KFILE_LENGTH))
    3839        if (kPathExist(pszFileName))
     
    5152
    5253#ifdef OS2
    53 void    err(int flags, const char *pszFormat, ...)
     54void    err(int flags, const char *pszFormat, ...)
    5455{
    5556    va_list args;
     
    6061}
    6162
    62 void    errx(int flags, const char *pszFormat, ...)
     63void    errx(int flags, const char *pszFormat, ...)
    6364{
    6465    va_list args;
     
    6970}
    7071
    71 void    warnx(const char *pszFormat, ...)
     72void    warnx(const char *pszFormat, ...)
    7273{
    7374    va_list args;
     
    7879}
    7980
    80 void    warn(const char *pszFormat, ...)
     81void    warn(const char *pszFormat, ...)
    8182{
    8283    va_list args;
Note: See TracChangeset for help on using the changeset viewer.