Home | History | Annotate | Download | only in lib

Lines Matching full:char

12   char *str;
24 char str[0];
29 char *arg;
34 char *data;
43 struct double_list *dlist_add(struct double_list **list, char *data);
74 char *symlink;
76 char again;
77 char name[];
80 struct dirtree *dirtree_start(char *name, int symfollow);
81 struct dirtree *dirtree_add_node(struct dirtree *p, char *name, int flags);
82 char *dirtree_path(struct dirtree *node, int *plen);
89 struct dirtree *dirtree_read(char *path, int (*callback)(struct dirtree *node));
96 void xstrncpy(char *dest, char *src, size_t size);
97 void xstrncat(char *dest, char *src, size_t size);
102 char *xstrndup(char *s, size_t n);
103 char *xstrdup(char *s);
105 char *xmprintf(char *format, ...) printf_format;
106 void xprintf(char *format, ...) printf_format;
107 void xputs(char *s);
108 void xputc(char c);
110 void xexec(char **argv);
111 pid_t xpopen_both(char **argv, int *pipes);
114 pid_t xpopen(char **argv, int *pipe, int stdout);
116 int xrun(char **argv);
117 int xpspawn(char **argv, int*pipes);
118 void xaccess(char *path, int flags);
119 void xunlink(char *path);
120 int xcreate(char *path, int flags, int mode);
121 int xopen(char *path, int flags);
125 FILE *xfdopen(int fd, char *mode);
126 FILE *xfopen(char *path, char *mode);
131 char *xreadfile(char *name, char *buf, off_t len);
133 char *xgetcwd(void);
134 void xstat(char *path, struct stat *st);
135 char *xabspath(char *path, int exact);
136 void xchdir(char *path);
137 void xchroot(char *path);
140 struct passwd *xgetpwnam(char *name);
141 struct group *xgetgrnam(char *name);
142 struct passwd *xgetpwnamid(char *user);
143 struct group *xgetgrnamid(char *group);
145 char *xreadlink(char *name);
146 long xparsetime(char *arg, long units, long *fraction);
147 void xpidfile(char *name);
148 void xregcomp(regex_t *preg, char *rexec, int cflags);
149 char *xtzset(char *new);
153 void verror_msg(char *msg, int err, va_list va);
154 void error_msg(char *msg, ...) printf_format;
155 void perror_msg(char *msg, ...) printf_format;
156 void error_exit(char *msg, ...) printf_format noreturn;
157 void perror_exit(char *msg, ...) printf_format noreturn;
158 void help_exit(char *msg, ...) printf_format noreturn;
159 void error_msg_raw(char *msg);
160 void perror_msg_raw(char *msg);
161 void error_exit_raw(char *msg);
162 void perror_exit_raw(char *msg);
166 int mkpathat(int atfd, char *dir, mode_t lastmode, int flags);
167 struct string_list **splitpath(char *path, struct string_list **list);
168 char *readfileat(int dirfd, char *name, char *buf, off_t *len);
169 char *readfile(char *name, char *buf, off_t len);
175 struct string_list *find_in_path(char *path, char *filename);
176 long estrtol(char *str, char **end, int base);
177 long xstrtol(char *str, char **end, int base);
178 long atolx(char *c);
179 long atolx_range(char *numstr, long low, long high);
180 int stridx(char *haystack, char needle);
181 char *strlower(char *s);
182 char *strafter(char *haystack, char *needle);
183 char *chomp(char *s);
184 int unescape(char c);
185 int strstart(char **a, char *b);
187 void loopfiles_rw(char **argv, int flags, int permissions, int failok,
188 void (*function)(int fd, char *name));
189 void loopfiles(char **argv, void (*function)(int fd, char *name));
191 int wfchmodat(int rc, char *name, mode_t mode);
192 int copy_tempfile(int fdin, char *name, char **tempname);
193 void delete_tempfile(int fdin, int fdout, char **tempname);
194 void replace_tempfile(int fdin, int fdout, char **tempname);
196 void base64_init(char *p);
199 void create_uuid(char *uuid);
200 char *show_uuid(char *uuid);
201 char *next_printf(char *s, char **start);
202 char *strnstr(char *line, char *str);
207 int human_readable(char *buf, unsigned long long num, int style);
218 void linestack_insert(struct linestack **lls, long pos, char *line, long len);
219 void linestack_append(struct linestack **lls, char *line);
220 struct linestack *linestack_load(char *name);
221 int crunch_str(char **str, int width, FILE *out,
222 int (*escout)(FILE *out, int cols, char **buf));
223 int draw_str(char *start, int width);
224 int utf8len(char *str);
225 int utf8skip(char *str, int width);
226 int draw_trim(char *str, int padto, int width);
232 int scan_key_getsize(char *scratch, int miliwait, unsigned *xx, unsigned *yy);
235 int scan_key(char *scratch, int miliwait);
236 void tty_esc(char *s);
244 int xconnect(char *host, char *port, int family, int socktype, int protocol,
249 int get_salt(char *salt, char * algo);
256 char *dir;
257 char *device;
258 char *opts;
259 char type[0];
262 void comma_args(struct arg_list *al, void *data, char *err,
263 char *(*callback)(void *data, char *str, int len));
264 void comma_collate(char **old, char *new);
265 char *comma_iterate(char **list, int *len);
266 int comma_scan(char *optlist, char *opt, int clean);
267 int comma_scanall(char *optlist, char *scanlist);
268 int mountlist_istype(struct mtab_list *ml, char *typelist);
269 struct mtab_list *xgetmountlist(char *path);
275 int sig_to_num(char *pidstr);
276 char *num_to_sig(int sig);
278 mode_t string_to_mode(char *mode_str, mode_t base);
279 void mode_to_string(mode_t mode, char *buf);
280 char *basename_r(char *name);
281 void names_to_pid(char **names, int (*callback)(pid_t pid, char *name));