Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / native_client_sdk / src / libraries / nacl_io / include / sys / utsname.h
blob3eff5295b47ab4ab8f0f623a770ffed7f145780e
1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_
6 #define LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_
8 #define _UTSNAME_LENGTH 65
10 struct utsname {
11 char sysname[_UTSNAME_LENGTH];
12 char nodename[_UTSNAME_LENGTH];
13 char release[_UTSNAME_LENGTH];
14 char version[_UTSNAME_LENGTH];
15 char machine[_UTSNAME_LENGTH];
18 #include <sys/cdefs.h>
20 __BEGIN_DECLS
22 int uname(struct utsname* buf);
24 __END_DECLS
26 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_ */