inet_ntoa.c (39528) | inet_ntoa.c (39536) |
---|---|
1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 25 unchanged lines hidden (view full) --- 34#if defined(LIBC_SCCS) && !defined(lint) 35static char sccsid[] = "@(#)inet_ntoa.c 8.1 (Berkeley) 6/4/93"; 36#endif /* LIBC_SCCS and not lint */ 37 38#include <sys/types.h> 39#include <sys/socket.h> 40#include <netinet/in.h> 41#include <arpa/inet.h> | 1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 25 unchanged lines hidden (view full) --- 34#if defined(LIBC_SCCS) && !defined(lint) 35static char sccsid[] = "@(#)inet_ntoa.c 8.1 (Berkeley) 6/4/93"; 36#endif /* LIBC_SCCS and not lint */ 37 38#include <sys/types.h> 39#include <sys/socket.h> 40#include <netinet/in.h> 41#include <arpa/inet.h> |
42#include <stand.h> | 42#include "stand.h" |
43 44/* 45 * Convert network-format internet address 46 * to base 256 d.d.d.d representation. 47 */ 48char * 49inet_ntoa(in) 50 struct in_addr in; --- 15 unchanged lines hidden --- | 43 44/* 45 * Convert network-format internet address 46 * to base 256 d.d.d.d representation. 47 */ 48char * 49inet_ntoa(in) 50 struct in_addr in; --- 15 unchanged lines hidden --- |