Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <augeas.h>
- int main()
- {
- char *root = "augeas-root/";
- char *loadpath = NULL;
- unsigned int flags = AUG_ENABLE_SPAN| AUG_SAVE_NEWFILE;
- printf("flags = %u\n", flags);
- struct augeas *aug = aug_init(root, loadpath, flags);
- printf("result = %p\n", (void *) aug);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement