Changeset 5109:4f9fc788fe91 in roaraudio for include/libroar/vio_string.h
- Timestamp:
- 07/28/11 16:32:34 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/vio_string.h
r4708 r5109 40 40 41 41 // some alias functions: 42 #define roar_vio_puts(vio,s) roar_vio_write((vio), (s), strlen((s)))42 #define roar_vio_puts(vio,s) roar_vio_write((vio), (s), roar_mm_strlen((s))) 43 43 //#define roar_vio_putc(vio,c) roar_vio_write((vio), &(c), 1) 44 int roar_vio_putc (struct roar_vio_calls * vio, char c) ;45 int roar_vio_getc (struct roar_vio_calls * vio) ;46 char * roar_vio_fgets (struct roar_vio_calls * vio, char * s, size_t size) ;44 int roar_vio_putc (struct roar_vio_calls * vio, char c) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL_ALL; 45 int roar_vio_getc (struct roar_vio_calls * vio) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL_ALL; 46 char * roar_vio_fgets (struct roar_vio_calls * vio, char * s, size_t size) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL_ALL; 47 47 48 int roar_vio_printf (struct roar_vio_calls * vio, const char *format, ...) ;48 int roar_vio_printf (struct roar_vio_calls * vio, const char *format, ...) _LIBROAR_ATTR_NONNULL(1, 2); 49 49 50 50 #endif
Note: See TracChangeset
for help on using the changeset viewer.