dirent.h (3b8f08459569bf0faa21473e5cec2491e95c9349) dirent.h (448f5f73dcc7efe69df16b6a875b0cf0c6f41ae3)
1/*-
2 * Copyright (c) 1989, 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

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

35
36/*
37 * The kernel defines the format of directory entries returned by
38 * the getdirentries(2) system call.
39 */
40#include <sys/cdefs.h>
41#include <sys/dirent.h>
42
1/*-
2 * Copyright (c) 1989, 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

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

35
36/*
37 * The kernel defines the format of directory entries returned by
38 * the getdirentries(2) system call.
39 */
40#include <sys/cdefs.h>
41#include <sys/dirent.h>
42
43#if __BSD_VISIBLE || __XSI_VISIBLE
43#if __XSI_VISIBLE
44/*
45 * XXX this is probably illegal in the __XSI_VISIBLE case, but brings us closer
46 * to the specification.
47 */
48#define d_ino d_fileno /* backward and XSI compatibility */
49#endif
50
51#if __BSD_VISIBLE

--- 62 unchanged lines hidden ---
44/*
45 * XXX this is probably illegal in the __XSI_VISIBLE case, but brings us closer
46 * to the specification.
47 */
48#define d_ino d_fileno /* backward and XSI compatibility */
49#endif
50
51#if __BSD_VISIBLE

--- 62 unchanged lines hidden ---