Convert a 6 characters string to un unsigned long, and vice versa, to be used as an identifier for RTAI services symmetrically available in user and kernel space, e.g. shared memory and LXRT and LXRT-INFORMED.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Definition in file rtai_nam2num.h.#include <rtai_types.h>
Include dependency graph for rtai_nam2num.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
unsigned long | nam2num (const char *name) |
Convert a 6 characters string to an unsigned long. | |
void | num2nam (unsigned long num, char *name) |
Convert an unsigned long to a 6 characters string. |
|
Convert a 6 characters string to an unsigned long. Converts a 6 characters string name containing an alpha numeric identifier to its corresponding unsigned long identifier.
Referenced by main(), pthread_mutex_open_rt(), RT_get_adr(), rt_Name_locate(), rt_named_bits_init(), rt_named_msgq_init(), rt_named_task_init(), rt_named_task_init_cpuid(), RT_typed_named_mbx_init(), rt_typed_named_mbx_init(), rt_typed_named_sem_init(), RT_typed_named_sem_init(), and sem_open_rt(). |
|
Convert an unsigned long to a 6 characters string.
Referenced by __rtai_shm_exit(), krtai_objects_release(), linux_process_termination(), pthread_mutex_close_rt(), pthread_rwlock_close_rt(), and sem_close_rt(). |