/usr/include/astrotcl/gen_str.h is in skycat 3.1.2+starlink1~b-3.
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 | /*+
************************************************************************
**** C A N A D I A N A S T R O N O M Y D A T A C E N T R E *****
*
* Include File Name: gen/h/gen_str.h
*
* Purpose:
* Contains defines and declarations for string manipulation.
*
* Date : Dec 10, 1990
*
* SCCS data : @(#)
* Module Name : gen_str.h
* Version Number : 1.8
* Release Number : 1
* Last Updated : 12/16/92
*
* Programmer : Severin Gaudet
*
* Modification History:
* 92/03/02 Norman Hill - Added strnsav.
*
**** C A N A D I A N A S T R O N O M Y D A T A C E N T R E *****
************************************************************************
-*/
/*
* Standard include file.
*/
#include <string.h>
/*
* Definitions.
*/
#ifndef STRSIZ
#define STRSIZ 256
#endif
#define streq(s1,s2) (strcmp(s1,s2) == 0)
#define strne(s1,s2) (strcmp(s1,s2) != 0)
/*
* External function declarations.
*/
extern boolean str2float();
extern boolean str2int();
extern void str2lower();
extern void str2upper();
extern char *strapp();
extern char *strext();
extern char *strfit();
extern boolean strfloat();
extern void strhead();
extern boolean strint();
extern char *strnapp();
extern char *strnsav();
extern boolean strpattern();
extern void strroot();
extern char *strsav();
extern char *strtail();
extern void strtokens();
|