| Branch: | Revision:

iof-bird-daemon / lib / string.h @ 5cc1e1f8

History | View | Annotate | Download (522 Bytes)

# Date Author Comment
221135d6 03/31/2000 11:30 PM Martin Mares

Include "lib/string.h" instead of <string.h>. It should give us bzero()
and other non-portable functions on all systems.

dee929d8 11/29/1998 02:47 PM Martin Mares

Added function for shell-like pattern matching. Will be used for
matching interface names in protocol-to-iface bindings.

53a416d3 11/16/1998 09:40 PM Martin Mares

Implemented snprintf and similar functions. It took a lot of thinking,
but the modifications were relatively simple and straightforward.

ecacdfa4 06/17/1998 02:31 PM Martin Mares

Added local version of sprintf (bsprintf and bvsprintf) offering few new
format strings:

%I    IP address
%#I IP address in hexadecimal
%1I IP address padded to full length
%m strerror(errno)