/[pupa]/pupa/kern/misc.c
ViewVC logotype

Diff of /pupa/kern/misc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by marco_g, Wed Oct 29 18:44:30 2003 UTC revision 1.5 by jeroen, Sun Nov 16 16:36:36 2003 UTC
# Line 71  pupa_strncpy (char *dest, const char *sr Line 71  pupa_strncpy (char *dest, const char *sr
71  }  }
72    
73  char *  char *
74    pupa_stpcpy (char *dest, const char *src)
75    {
76      char *d = dest;
77      const char *s = src;
78    
79      do
80        *d++ = *s;
81      while (*s++ != '\0');
82    
83      return d - 1;
84    }
85    
86    char *
87  pupa_strcat (char *dest, const char *src)  pupa_strcat (char *dest, const char *src)
88  {  {
89    char *p = dest;    char *p = dest;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26