carta
rose_ntoa(3)

rose_ntoa3

Rose address manipulation routines

Part of rose(3).

Usage

int rose_aton(const char *cp, char *inp);

char * rose_ntoa(rose_address *cp);

int rose_cmp(rose_address *a1, rose_address *a2);

Overview

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.

History

  • Debian 13 (Trixie) to Debian 7 (Wheezy): the text shown here
  • Debian 6.0 (Squeeze) to Debian 3.1 (Sarge)

From libax25-dev 0.0.12-rc5+git20230513+5581005-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.