include/libtu/misc.h

changeset 32
7e74a8d61b76
parent 20
3f11f764772a
child 36
63cd573ffbcf
equal deleted inserted replaced
31:e9cad8bd8ec8 32:7e74a8d61b76
27 27
28 extern char* scopy(const char *p); 28 extern char* scopy(const char *p);
29 extern char* scat(const char *p1, const char *p2); 29 extern char* scat(const char *p1, const char *p2);
30 extern char* scatn(const char *p1, ssize_t n1, const char *p2, ssize_t n2); 30 extern char* scatn(const char *p1, ssize_t n1, const char *p2, ssize_t n2);
31 extern char* scat3(const char *p1, const char *p2, const char *p3); 31 extern char* scat3(const char *p1, const char *p2, const char *p3);
32 extern void stripws(char *p);
32 33
33 extern const char* simple_basename(const char *name); 34 extern const char* simple_basename(const char *name);
34 35
35 /* I dislike fread and fwrite... */ 36 /* I dislike fread and fwrite... */
36 extern bool readf(FILE *fd, void *buf, size_t n); 37 extern bool readf(FILE *fd, void *buf, size_t n);

mercurial