Deleted Added
sdiff udiff text old ( 9554:406fbcf60223 ) new ( 11793:ef606668d247 )
full compact
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * 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 are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 20 unchanged lines hidden (view full) ---

29 */
30
31#include <unistd.h>
32
33#ifdef __APPLE__
34#include <mach/mach_init.h>
35#include <mach/shared_region.h>
36#include <mach/task.h>
37#endif
38
39#include <cctype>
40#include <cerrno>
41#include <cmath>
42#include <cstdio>
43#include <cstdlib>
44#include <cstring>
45#include <string>
46
47#include "base/hostinfo.hh"
48#include "base/misc.hh"
49#include "base/str.hh"
50#include "base/types.hh"
51
52using namespace std;
53
54string
55__get_hostname()

--- 65 unchanged lines hidden ---