This file is indexed.

/usr/include/OpenSP/sptchar.h is in libosp-dev 1.5.2-10ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
// Copyright (c) 1996 James Clark
// See the file COPYING for copying permission.

#ifndef sptchar_INCLUDED
#define sptchar_INCLUDED 1

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>

#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif

#ifdef SP_WIDE_SYSTEM

typedef wchar_t SP_TCHAR;
typedef wchar_t SP_TUCHAR;

#define SP_T(x) L ## x

inline
wchar_t *tgetenv(const wchar_t *s)
{
  return _wgetenv(s);
}

inline
int tcscmp(const wchar_t *s1, const wchar_t *s2)
{
  return wcscmp(s1, s2);
}

inline
int tcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
{
  return wcsncmp(s1, s2, n);
}

inline
unsigned long tcstoul(const wchar_t *s, const wchar_t **sp, int base)
{
  return wcstoul((wchar_t *)s, (wchar_t **)sp, base);
}

inline
unsigned long tcstoul(wchar_t *s, wchar_t **sp, int base)
{
  return wcstoul(s, sp, base);
}

inline
const wchar_t *tcschr(const wchar_t *s, wint_t c)
{
  return wcschr(s, c);
}

inline
wchar_t *tcschr(wchar_t *s, wint_t c)
{
  return wcschr(s, c);
}

inline
size_t tcslen(const wchar_t *s)
{
  return wcslen(s);
}

inline
int fputts(const wchar_t *s, FILE *fp)
{
  return fputws(s, fp);
}

inline
int totupper(wint_t c)
{
  return towupper(c);
}

inline
bool istalnum(wint_t c)
{
  return iswalnum(c);
}
 
#else /* not SP_WIDE_SYSTEM */

typedef char SP_TCHAR;
typedef unsigned char SP_TUCHAR;

#define SP_T(x) x

inline
char *tgetenv(const char *s)
{
  return getenv(s);
}

inline
int tcscmp(const char *s1, const char *s2)
{
  return strcmp(s1, s2);
}

inline
int tcsncmp(const char *s1, const char *s2, size_t n)
{
  return strncmp(s1, s2, n);
}

inline
unsigned long tcstoul(const char *s, const char **sp, int base)
{
  return strtoul((char *)s, (char **)sp, base);
}

inline
unsigned long tcstoul(char *s, char **sp, int base)
{
  return strtoul(s, sp, base);
}

inline
const char *tcschr(const char *s, int c)
{
  return strchr(s, c);
}

inline
char *tcschr(char *s, int c)
{
  return strchr(s, c);
}

inline
size_t tcslen(const char *s)
{
  return strlen(s);
}

inline
int fputts(const char *s, FILE *fp)
{
  return fputs(s, fp);
}

inline
int totupper(int c)
{
  return toupper(c);
}

inline
bool istalnum(int c)
{
  return isalnum(c);
}

#endif /* not SP_WIDE_SYSTEM */

#ifdef SP_NAMESPACE
}
#endif

#endif /* not sptchar_INCLUDED */