*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: typeof | Section: 3 | Source: NetBSD | File: typeof.3
TYPEOF(3) FreeBSD Library Functions Manual TYPEOF(3) NAME typeof - GNU extension for type of an expression SYNOPSIS type typeof(expression); DESCRIPTION The typeof() construct can be used to obtain the type of an expression. The syntax is comparable to that of sizeof(), but semantically typeof() operates like a type name defined with typedef. EXAMPLES The following is a typical example of a type-generic macro: #define MAX(a, b) ({ \ typeof(a) _a = (a); \ typeof(b) _b = (b); \ _a > _b ? _a : _b; \ }) SEE ALSO gcc(1), __alignof__(3), attribute(3), offsetof(3) CAVEATS The typeof() construct is a non-standard, compiler-specific extension. FreeBSD 14.1-RELEASE-p8 December 19, 2010 FreeBSD 14.1-RELEASE-p8

Navigation Options