os/syscall : fix errno syscall
"fstat","sys/stat.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int","FAR struct stat*"
"fstatfs","sys/statfs.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int","FAR struct statfs*"
"fsync", "unistd.h", "CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)", "int", "int"
-"get_errno", "errno.h", "", "int"
+"get_errno","errno.h","!defined(__DIRECT_ERRNO_ACCESS)","int"
+"get_errno_ptr","errno.h","defined(__DIRECT_ERRNO_ACCESS)","FAR int*"
"getenv", "stdlib.h", "!defined(CONFIG_DISABLE_ENVIRON)", "FAR char*", "FAR const char*"
"get_environ_ptr", "stdlib.h", "!defined(CONFIG_DISABLE_ENVIRON)", "FAR char*", "size_t *"
"getpeername", "sys/socket.h", "CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)", "int", "int", "struct sockaddr *", "socklen_t *"
"sem_wait", "semaphore.h", "", "int", "FAR sem_t*"
"send", "sys/socket.h", "CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)", "ssize_t", "int", "FAR const void*", "size_t", "int"
"sendto", "sys/socket.h", "CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)", "ssize_t", "int", "FAR const void*", "size_t", "int", "FAR const struct sockaddr*", "socklen_t"
-"set_errno", "errno.h", "", "void", "int"
+"set_errno","errno.h","!defined(__DIRECT_ERRNO_ACCESS)","void","int"
"setenv", "stdlib.h", "!defined(CONFIG_DISABLE_ENVIRON)", "int", "const char*", "const char*", "int"
"setsockopt", "sys/socket.h", "CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)", "int", "int", "int", "int", "FAR const void*", "socklen_t"
"shmat", "sys/shm.h", "defined(CONFIG_MM_SHM)", "FAR void *", "int", "FAR const void *", "int"
