/usr/include/kuip/kstring.h is in libpacklib1-dev 20061220+dfsg3-4.2.
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 | /*
* $Id: kstring.h,v 1.2 1997/03/14 17:16:39 mclareni Exp $
*
* $Log: kstring.h,v $
* Revision 1.2 1997/03/14 17:16:39 mclareni
* WNT mods
*
* Revision 1.1.1.1 1996/03/08 15:33:01 mclareni
* Kuip
*
*/
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* quasi-standard functions missing in some C-libraries
*/
#ifndef WIN32
#ifndef memmove
extern void* memmove( void* dst, const void* src, size_t n );
#endif
#endif
/* GF. make conform to kkern.c#if !defined(__convexc__)*/
#ifndef HAVE_STRCASECMP
extern int strcasecmp( const char* str1, const char* str2 );
extern int strncasecmp( const char* str1, const char* str2, size_t n );
#endif
extern char* strrstr( const char* str1, const char* str2 );
#ifdef strdup
# undef strdup /* otherwise the next function declaration may bomb */
#endif
#define strdup Strdup /* prototype without const */
extern char* strdup( const char* str );
/*
* convenience functions from kkern.c
*/
extern char* str0dup( const char* str );
extern char* str2dup( const char* str1, const char* str2 );
extern char* str3dup( const char* str1, const char* str2, const char* str3 );
extern char* str4dup( const char* str1, const char* str2, const char* str3,
const char* str4 );
extern char* str5dup( const char* str1, const char* str2, const char* str3,
const char* str4, const char* str5 );
#ifdef strndup
# undef strndup /* otherwise the next function declaration may bomb */
#endif
extern char* strndup( const char* buf, size_t n );
extern char* stridup( int i );
extern char* mstrcat( char* ptr, const char* str );
extern char* mstr2cat( char* ptr, const char* str1, const char* str2 );
extern char* mstr3cat( char* ptr, const char* str1, const char* str2,
const char* str3);
extern char* mstr4cat( char* ptr, const char* str1, const char* str2,
const char* str3, const char* str4 );
extern char* mstrncat( char* ptr, const char* buf, size_t n );
extern char* mstrccat( char* ptr, char c, size_t n );
extern char* mstricat( char* ptr, int i );
extern char* strrpbrk( const char* str1, const char* str2 );
extern char* strqtok( char* str );
extern char* strlower( char* str );
extern char* strupper( char* str );
extern char* strtrim( char* str );
extern char* struntab( char* str );
extern char* strfromd( double d, size_t prec );
extern char* strfromi( int i, size_t prec );
extern char* strblk0( char* str );
extern int shsystem( const char* shell, const char* cmd );
extern int checksum( const char* path );
extern char* fexpand( const char* fname, const char* ftype );
extern char* fsearch( const char* fname, const char* ftype, const char* path );
extern char* fsymlink( const char* path );
extern char* fstrdup( const char* buf, size_t len );
extern char* fstr0dup( const char* buf, size_t len );
extern char* fstrtrim( const char* buf, size_t len );
extern char* fstr0trim( const char* buf, size_t len );
extern size_t fstrlen( const char* buf, size_t len );
extern size_t fstrset( char* buf, size_t len, const char* str );
extern double fstrtod( const char* str, char** tail );
extern int fstrtoi( const char* str, char** tail );
extern char* fstrvec( char** pstr, size_t n, size_t* len );
extern size_t mstrlen( char** pstr, size_t n );
#ifdef __cplusplus
}
#endif
|