Mercurial > hg > toybox
annotate lib/xregcomp.h @ 847:2506cbdccd20
Partial cleanup of find
- Remove unnecessary headers
- dump_node is not used anywhere
- exec_buf is unused
- Replace SUCCESS with 1 and simplify code accordingly
- a==0 -> !a
- Simplify an incremation pattern using pre-increments
- Add static keyword to functions
- Make error messages print to stderr
author | Felix Janda <felix.janda@posteo.de> |
---|---|
date | Wed, 10 Apr 2013 19:25:06 +0200 |
parents | ce6956dfc0cf |
children |
rev | line source |
---|---|
114
ce6956dfc0cf
Add sync and an incomplete version of mdev.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 /* This is a separate file so libc doesn't always need regex support. */ |
ce6956dfc0cf
Add sync and an incomplete version of mdev.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 |
ce6956dfc0cf
Add sync and an incomplete version of mdev.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 #include <sys/types.h> |
ce6956dfc0cf
Add sync and an incomplete version of mdev.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 #include <regex.h> |
ce6956dfc0cf
Add sync and an incomplete version of mdev.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 |
ce6956dfc0cf
Add sync and an incomplete version of mdev.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 void xregcomp(regex_t *preg, char *rexec, int cflags); |