Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rose(3) [centos man page]

INET(3) 						     Linux Programmer's Manual							   INET(3)

NAME
rose_aton, rose_ntoa, rose_cmp - ROSE Address manipulation routines SYNOPSIS
#include <netrose/rose.h> int rose_aton(const char *cp, char *inp); char * rose_ntoa(rose_address *cp); int rose_cmp(rose_address *a1, rose_address *a2); DESCRIPTION
The rose_aton() converts the ROSE address cp from an ASCII representation into network format. The rose_ntoa() converts the ROSE address cp that is network format to a string that is the ASCII representation of the address. The rose_cmp() compares the two ROSE address a1 and a2 that are in network format. RETURN VALUE
The rose_ntoa() and rose_aton() functions return zero if all went OK, -1 if not. The rose_cmp() returns 0 if addresses pointer by a1 and a2 are identical, 1 otherwise. SEE ALSO
ax25(4), netrom(4), rose(4) Linux 2008-Feb-04 INET(3)

Check Out this Related Man Page

INET(3) 						     Linux Programmer's Manual							   INET(3)

NAME
ax25_aton, ax25_aton_entry, ax25_aton_arglist, ax25_ntoa, ax25_cmp, ax25_validate - AX25 Address manipulation routines SYNOPSIS
#include <netax25/ax25.h> int ax25_aton(const char *cp, struct full_sockaddr_ax25 *fsap); int ax25_aton_arglist(const char **cp, struct full_sockaddr_ax25 *fsap); int ax25_aton_entry(const char *cp, char *axp); char *ax25_ntoa(ax25_address *axp); int ax25_cmp(ax25_address *ax1, ax25_address *ax2); int ax25_validate(char *axp); char *ax25_config_file(const char *filename); DESCRIPTION
ax25_aton() takes the ASCII string cp that is in the format callsign [[V|VIA]callsign...] and stores it in fsap in network format. ax25_aton_entry() takes the ASCII string of a callsign cp and stores it in network format in axp. The ax25_aton_arglist() takes a NULL terminated array of strings cp and stores it in fsap in network format. The ax25_ntoa() takes a network format address axp and returns the ASCII representation. The string is returned in a statically allocated buffer, which subsequent calls will overwrite. The ax25_cmp() function compares the two ax25 addresses, ax1 and ax2, that are in network format and determines wether they are identical, differ only by their SSIDs or are different. The ax25_validate() function checks to see if the address axp in network format is a correctly formatted address. RETURN VALUE
The ax25_aton()and ax25_aton_arglist() functions return -1 if an error occurs otherwise the length of the returned structure. The ax25_aton_entry() function returns -1 if an error occurs otherwise zero. The ax25_cmp() function returns 0 if the two addresses are identical, 1 if they are different or 2 is only the SSIDs are different. The ax25_validate() function returns TRUE if the callsign is valid or FALSE if it is not. SEE ALSO
ax25(4), netrom(4), rose(4) Linux 2008-Feb-04 INET(3)
Man Page

4 More Discussions You Might Find Interesting

1. Programming

time in microseconds

Hi I want to print the current local time in microseconds How ? (16 Replies)
Discussion started by: avnerht
16 Replies

2. AIX

AIX POWER 6 Prosessor

How AIX POWER 6 Processor exploit over 5.3 (1 Reply)
Discussion started by: Sanj
1 Replies

3. Programming

Microsecond timer and printf issues in C++

Hi guys, First post here - hope it's in the right place. I'm writing a timer for a client. It can send data every 100ms and receive every 150. It's an AI project so I *don't* want to fork() and pipe or go multi threaded, use interupts etc. Using linux, gcc 4.3.2 The code I have: ... (2 Replies)
Discussion started by: scazz
2 Replies

4. UNIX for Beginners Questions & Answers

Idea to make a function as microservice

Hello - I wrote few scripts on bash shell script and grafana triggers those scripts and show on console . I want to write the console output to a log file as well by using tee command and I am successful as well . I am wondering Instead of writing same logic on multiple scripts , why... (4 Replies)
Discussion started by: Varja
4 Replies

Featured Tech Videos