home *** CD-ROM | disk | FTP | other *** search
- /*---------------strnchr-------------------------------*/
- /*DESCRIPTION: puts len copies of ch into string and */
- /* adds a terminating null ch. */
- /* */
- /*RETURNS: the address of string */
- /*USES: nothing. */
- /*IN: string.c */
- /*-----------------------------------------------------*/
-
- char *strnchr(char *string, int ch, int len)