Woolz Image Processing  Version 1.7.5
AlcString.c File Reference

Provides functions for string duplication. More...

Functions

char * AlcStrDup (const char *srcStr)
 Allocates space for and duplicates the given NULL terminated character string. More...
 
char * AlcStrCat3 (const char *s0, const char *s1, const char *s2)
 Concatonates the three given strings in order into a new allocated string buffer. If all strings are null or zero length then NULL is returned, otherwise if a string is null it is omitted. More...
 
unsigned int AlcStrSFHash (const char *str)
 A hash function for strings based on Paul Hsieh's SuperFastHash function which is covered by the LGPL 2.1 license amongst others. The returned value will always be zero if the given string is null of has zero length. More...
 

Detailed Description

Provides functions for string duplication.

Author
Bill Hill
Date
March 1999
Version
Id
5280edbb7d02c8127ea40de7d96f4b3376880671
Address: MRC Human Genetics Unit, MRC Institute of Genetics and Molecular Medicine, University of Edinburgh, Western General Hospital, Edinburgh, EH4 2XU, UK.
Copyright (C), [2012], The University Court of the University of Edinburgh, Old College, Edinburgh, UK.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.