Coda Distributed File System
coda-src
vol
struct.h
Go to the documentation of this file.
1
/* BLURB gpl
2
3
Coda File System
4
Release 8
5
6
Copyright (c) 1987-2025 Carnegie Mellon University
7
Additional copyrights listed below
8
9
This code is distributed "AS IS" without warranty of any kind under
10
the terms of the GNU General Public Licence Version 2, as shown in the
11
file LICENSE. The technical and financial contributors to Coda are
12
listed in the file CREDITS.
13
14
Additional copyrights
15
none currently
16
17
#*/
18
19
/* struct.h 4.1 83/05/03 */
20
21
/*
22
* access to information relating to the fields of a structure
23
*/
24
25
#include <
coda_offsetof.h
>
26
27
#define fldsiz(type, member) (sizeof(((type *)0)->member))
28
#define strbase(type, p, member) \
29
((type *)((char *)(p) - coda_offsetof(type, member)))
coda_offsetof.h
Generated by
1.9.4