Firmware
Macros | Functions | Variables
px4_posix.h File Reference

Includes POSIX-like functions for virtual character devices. More...

#include <px4_defines.h>
#include <px4_tasks.h>
#include <stdint.h>
#include <unistd.h>
#include <fcntl.h>
#include <poll.h>
#include <sys/types.h>
#include "px4_sem.h"

Go to the source code of this file.

Macros

#define PX4_F_RDONLY   1
 
#define PX4_F_WRONLY   2
 
#define PX4_STACK_ADJUSTED(_s)   (_s * (__SIZEOF_POINTER__ >> 2) + PX4_STACK_OVERHEAD)
 

Functions

__EXPORT void px4_show_devices (void)
 
__EXPORT void px4_show_files (void)
 
__EXPORT const char * px4_get_device_names (unsigned int *handle)
 
__EXPORT void px4_show_topics (void)
 
__EXPORT const char * px4_get_topic_names (unsigned int *handle)
 
__EXPORT uint64_t hrt_system_time (void)
 

Variables

__BEGIN_DECLS int px4_errno
 

Detailed Description

Includes POSIX-like functions for virtual character devices.