Changeset 6051:13653593a569 in roaraudio
- Timestamp:
- 01/02/15 16:00:02 (9 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/vio_stream.c
r6036 r6051 35 35 36 36 #include "libroar.h" 37 38 #ifdef ROAR_TARGET_WIN32 39 static inline int inet_aton(const char *s, struct in_addr *a) { 40 int b0, b1, b2, b3; 41 42 if (sscanf(s, "%d.%d.%d.%d", &b0, &b1, &b2, &b3) < 4) 43 return 0; 44 45 a->s_addr = inet_addr(s); 46 47 return a->s_addr != INADDR_NONE; 48 } 49 #endif 37 50 38 51 static ssize_t _vio_stream_read (struct roar_vio_calls * vio, void *buf, size_t count) {
Note: See TracChangeset
for help on using the changeset viewer.