SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause brief: | Registers the device specified by the device major and minor numbers in the file system under the specified name. copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG - Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) definition: default: attributes: null body: null params: - const char *${.:/params[0]/name} - ${device-major-number:/name} ${.:/params[1]/name} - ${device-minor-number:/name} ${.:/params[2]/name} return: ${../../status/if/code:/name} variants: [] description: null enabled-by: true index-entries: - register a device in the file system interface-type: function links: - role: interface-placement uid: header - role: interface-ingroup uid: group - role: constraint uid: /constraint/directive-not-pre-qualified name: rtems_io_register_name notes: | The device is registered as a character device. params: - description: | is the device name in the file system. dir: null name: device_name - description: | is the device major number. dir: null name: major - description: | is the device minor number. dir: null name: minor return: return: null return-values: - description: | The requested operation was successful. value: ${../../status/if/successful:/name} - description: | The name was already in use or other errors occurred. value: ${../../status/if/too-many:/name} type: interface