Rev 10 | Rev 5456 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10 | Rev 3717 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | /* lines.c */ |
38 | /* lines.c */ |
39 | char *int2str(int i); |
39 | char *int2str(int i); |
40 | void *xmalloc(size_t n); |
40 | void *xmalloc(size_t n); |
41 | int msleep(int ms); /* millisecond sleeper */ |
41 | int msleep(int ms); /* millisecond sleeper */ |
42 | void _tolinux(char *p); /* dos/mac to unix/linux translation */ |
42 | void _tolinux(char *p); /* dos/mac to unix/linux translation */ |
- | 43 | void ovlstrcpy(char *dest, char *src); /* strcpy of possibly overlapping strings (64 bits problem)*/ |
|
43 | void mystrncpy(char *dest, char *src, int lim); /* optimized and secured strncpy */ |
44 | void mystrncpy(char *dest, char *src, int lim); /* optimized and secured strncpy */ |
44 | /* find matching parenthesis. |
45 | /* find matching parenthesis. |
45 | * The entrance point should be after the opening parenthesis. |
46 | * The entrance point should be after the opening parenthesis. |
46 | * Returns NULL if unmatched. */ |
47 | * Returns NULL if unmatched. */ |
47 | char *find_matching(char *p, char c); |
48 | char *find_matching(char *p, char c); |