RTEMS CPU Kit with SuperCore
Macros | Functions
ns_ttl.c File Reference
#include <arpa/nameser.h>
#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
Include dependency graph for ns_ttl.c:

Macros

#define SPRINTF(x)   ((size_t)sprintf x)
 
#define T(x)   if ((x) < 0) return (-1); else (void)NULL
 

Functions

int ns_format_ttl (u_long src, char *dst, size_t dstlen)
 
int ns_parse_ttl (const char *src, u_long *dst)