sysdecode.h (1e6455d87088ac9723523093cbec92d12c0146de) sysdecode.h (a826eb5a413324c5136f5094650cb15c8331c93f)
1/*-
2 * Copyright (c) 2015 John H. Baldwin <jhb@FreeBSD.org>
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
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

41
42int sysdecode_abi_to_freebsd_errno(enum sysdecode_abi _abi, int _error);
43bool sysdecode_access_mode(FILE *_fp, int _mode, int *_rem);
44const char *sysdecode_acltype(int _type);
45const char *sysdecode_atfd(int _fd);
46bool sysdecode_atflags(FILE *_fp, int _flags, int *_rem);
47bool sysdecode_cap_fcntlrights(FILE *_fp, uint32_t _rights, uint32_t *_rem);
48void sysdecode_cap_rights(FILE *_fp, cap_rights_t *_rightsp);
1/*-
2 * Copyright (c) 2015 John H. Baldwin <jhb@FreeBSD.org>
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
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

41
42int sysdecode_abi_to_freebsd_errno(enum sysdecode_abi _abi, int _error);
43bool sysdecode_access_mode(FILE *_fp, int _mode, int *_rem);
44const char *sysdecode_acltype(int _type);
45const char *sysdecode_atfd(int _fd);
46bool sysdecode_atflags(FILE *_fp, int _flags, int *_rem);
47bool sysdecode_cap_fcntlrights(FILE *_fp, uint32_t _rights, uint32_t *_rem);
48void sysdecode_cap_rights(FILE *_fp, cap_rights_t *_rightsp);
49const char *sysdecode_cmsg_type(int _cmsg_level, int _cmsg_type);
49const char *sysdecode_extattrnamespace(int _namespace);
50const char *sysdecode_fadvice(int _advice);
51void sysdecode_fcntl_arg(FILE *_fp, int _cmd, uintptr_t _arg, int _base);
52bool sysdecode_fcntl_arg_p(int _cmd);
53const char *sysdecode_fcntl_cmd(int _cmd);
54bool sysdecode_fcntl_fileflags(FILE *_fp, int _flags, int *_rem);
55bool sysdecode_fileflags(FILE *_fp, fflags_t _flags, fflags_t *_rem);
56bool sysdecode_filemode(FILE *_fp, int _mode, int *_rem);

--- 73 unchanged lines hidden ---
50const char *sysdecode_extattrnamespace(int _namespace);
51const char *sysdecode_fadvice(int _advice);
52void sysdecode_fcntl_arg(FILE *_fp, int _cmd, uintptr_t _arg, int _base);
53bool sysdecode_fcntl_arg_p(int _cmd);
54const char *sysdecode_fcntl_cmd(int _cmd);
55bool sysdecode_fcntl_fileflags(FILE *_fp, int _flags, int *_rem);
56bool sysdecode_fileflags(FILE *_fp, fflags_t _flags, fflags_t *_rem);
57bool sysdecode_filemode(FILE *_fp, int _mode, int *_rem);

--- 73 unchanged lines hidden ---