I'm currently trying to port CCNx (talk from Van Jakobson: http://www.youtube.com/watch?v=3zOLrQJ5kbU) to RIOT and I need to know which c includes I can rely on in riot?
I think these are ok:
but what about (as comment I wrote the names of the used functions):
#include <arpa/inet.h> // struct sockaddr_storage, socket, connect
#include <fcntl.h> // open, fcntl
#include <poll.h> // pollfd
#include <sys/stat.h> // mkdir
#include <sys/time.h> // gettimeofday
#include <sys/un.h> // struct sockaddr_un
#include <unistd.h> // getpid, close, write, read, sleep, access
Right now, I need to decide which parts of CCNx I need to customize for RIOT...
Oh and I might add, that HEAD of this branch is quite volatile for now (heavy rebasing with refactor_modules ).
My question about the includes is more like: which ones are currently supported on all board (declared and implemented)? What is the libc on these boards? Is this libc feature complete to this list of headers:
so on which parts of riot you are working right now? I think on the current network stacks, right?
Riot is moving it's HEAD too, so I would be happy to see your stuff in master, perhaps I can benefit from it too!
My question about the includes is more like: which ones are
currently supported on all board (declared and implemented)? What is
the libc on these boards?
for all supported ARM-based platforms RIOT relies on the Newlib (beware of
the lousy documentation!), while mspgcc provides its own libc  for the
2013/6/18 Christian Mehlis <email@example.com>