diff options
Diffstat (limited to 'eg/retdecl.c')
-rw-r--r-- | eg/retdecl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/eg/retdecl.c b/eg/retdecl.c new file mode 100644 index 0000000..6675c8d --- /dev/null +++ b/eg/retdecl.c @@ -0,0 +1,10 @@ +/* return near the declarator + * This is an example of embedding the `returns' information in near the + * declarator in a function declaration. + */ +char * /* a string, or NULL if it failed */ +retdecl() +{ + /* reference implementation that barely meets the interface spec */ + return NULL; +} |