1 /* $OpenBSD: fileext.h,v 1.2 2005/06/17 20:40:32 espie Exp $ */
2 /* $NetBSD: fileext.h,v 1.5 2003/07/18 21:46:41 nathanw Exp $ */
5 * SPDX-License-Identifier: BSD-2-Clause
7 * Copyright (C)2001 Citrus Project,
16 struct __lttng_ust_sfileext
{
17 struct __lttng_ust_sbuf _ub
; /* ungetc buffer */
18 struct wchar_io_data _wcio
; /* wide char io status */
21 #define _EXT(fp) ((struct __lttng_ust_sfileext *)((fp)->_ext._base))
22 #define _UB(fp) _EXT(fp)->_ub
24 #define _FILEEXT_INIT(fp) \
26 _UB(fp)._base = NULL; \
31 #define _FILEEXT_SETUP(f, fext) \
33 (f)->_ext._base = (unsigned char *)(fext); \
This page took 0.03036 seconds and 4 git commands to generate.