~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to lib/c-strcase.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- buffer-read-only: t -*- vi: set ro: */
2
 
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
3
1
/* Case-insensitive string comparison functions in C locale.
4
 
   Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2011 Free Software
 
2
   Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2012 Free Software
5
3
   Foundation, Inc.
6
4
 
7
5
   This program is free software; you can redistribute it and/or modify
15
13
   GNU General Public License for more details.
16
14
 
17
15
   You should have received a copy of the GNU General Public License
18
 
   along with this program; if not, write to the Free Software Foundation,
19
 
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
16
   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
20
17
 
21
18
#ifndef C_STRCASE_H
22
19
#define C_STRCASE_H
42
39
/* Compare strings S1 and S2, ignoring case, returning less than, equal to or
43
40
   greater than zero if S1 is lexicographically less than, equal to or greater
44
41
   than S2.  */
45
 
extern int c_strcasecmp (const char *s1, const char *s2);
 
42
extern int c_strcasecmp (const char *s1, const char *s2) _GL_ATTRIBUTE_PURE;
46
43
 
47
44
/* Compare no more than N characters of strings S1 and S2, ignoring case,
48
45
   returning less than, equal to or greater than zero if S1 is
49
46
   lexicographically less than, equal to or greater than S2.  */
50
 
extern int c_strncasecmp (const char *s1, const char *s2, size_t n);
 
47
extern int c_strncasecmp (const char *s1, const char *s2, size_t n)
 
48
  _GL_ATTRIBUTE_PURE;
51
49
 
52
50
 
53
51
#ifdef __cplusplus