Ignore:
Timestamp:
Aug 9, 1999, 2:39:30 PM (26 years ago)
Author:
phaller
Message:

Add: added strdup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/odincrt/odincrt.cpp

    r438 r441  
    1919#include <stdio.h>
    2020#include <stdlib.h>
     21#include <string.h>
    2122#include <odincrt.h>
    2223
     
    4041
    4142/****************************************************************************
    42  * Implementation                                                           *
     43 * Memory Management                                                        *
    4344 ****************************************************************************/
    4445
     
    6465
    6566
     67
     68/****************************************************************************
     69 * String operations                                                        *
     70 ****************************************************************************/
     71
     72char* ODINAPI ODIN_strdup( const char *s1)
     73  ODIN_TEB_OFF
     74  char *rc = strdup(s1);
     75  ODIN_TEB_ON1(rc)
     76
     77
Note: See TracChangeset for help on using the changeset viewer.