/usr/include/xview/db.h is in xviewg-dev 3.2p1.4-28.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | /* @(#)db.h 50.13 93/06/28 SMI */
/*
* (c) Copyright 1989 Sun Microsystems, Inc. Sun design patents
* pending in the U.S. and foreign countries. See LEGAL NOTICE
* file for terms of the license.
*/
#ifndef xview_db_h_DEFINED
#define xview_db_h_DEFINED
#include <xview/generic.h>
#include <xview/attr.h>
#include <X11/Xlib.h>
#include <X11/Xresource.h>
/* type converters */
#define db_cvt_int_to_string(from_value, to_value) \
(void) sprintf(to_value, "%d", (int)from_value)
#define db_cvt_bool_to_string(from_value, to_value) \
(void) strcpy(to_value, ((int)from_value) ? "True" : "False")
#define db_cvt_char_to_string(from_value, to_value) \
to_value[0] = (char)from_value, to_value[1] = '\0'
#endif /* ~xview_db_h_DEFINED */
|