![]() |
RTEMS 6.1
|
Media implementation. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <inttypes.h>#include <assert.h>#include <rtems/media.h>Functions | |
| char * | rtems_media_create_path (const char *prefix, const char *name, rtems_device_major_number major) |
| Creates a new path as "prefix/name-major". | |
| char * | rtems_media_replace_prefix (const char *new_prefix, const char *path) |
| Replaces the prefix of the path with new_prefix. | |
| char * | rtems_media_append_minor (const char *path, rtems_device_minor_number minor) |
| Appends the minor number to the path resulting in "path-minor". | |
Media implementation.