- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2
C development
        Joachim Metz edited this page Jul 10, 2022 
        ·
        1 revision
      
    TODO: work in progress
Most of the API functions return 1 if successful or -1 on error.
The close function is an exception since it returns 0 if successful or -1 on error.
More details about the return values for each API function can be found in libcdirectory.h
The following examples require the following headers to be included:
#include <stdlib.h>
#include <stdio.h>
#include <libcdirectory.h>
- libcdirectory.h
- man 3 libcdirectory