Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / lib / DtSvc / DtCodelibs / strend.C
1 /*
2  * $XConsortium: strend.C /main/4 1996/04/21 19:09:40 drk $
3  *
4  * (c) Copyright 1996 Digital Equipment Corporation.
5  * (c) Copyright 1993,1994,1996 Hewlett-Packard Company.
6  * (c) Copyright 1993,1994,1996 International Business Machines Corp.
7  * (c) Copyright 1993,1994,1996 Sun Microsystems, Inc.
8  * (c) Copyright 1993,1994,1996 Novell, Inc. 
9  * (c) Copyright 1996 FUJITSU LIMITED.
10  * (c) Copyright 1996 Hitachi.
11  */
12 #include <codelibs/stringx.h>
13
14 char *
15 strend(register const char *str)
16 {
17         if (str == NULL)
18                 return NULL;
19
20         while (*str != '\0')
21                 str++;
22
23         return (char *)str;
24 }