Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: unifdef | Distribution: OpenMandriva Lx |
Version: 2.12 | Vendor: OpenMandriva |
Release: 1 | Build date: Fri Aug 26 00:23:20 2022 |
Group: Development/Tools | Build host: instance-20220713-1556-2.openmandriva.org |
Size: 38467 | Source RPM: unifdef-2.12-1.src.rpm |
Packager: bero <bero@lindev.ch> | |
Url: http://dotat.at/prog/unifdef/ | |
Summary: Tool to remove ifdef statements from C/C++ code |
The unifdef utility selectively processes conditional C preprocessor #if and #ifdef directives. It removes from a file both the directives and the additional text that they delimit, while otherwise leaving the file alone. It is useful for avoiding distractions when studying code that uses #ifdef heavily for portability: my original motivation was to understand xterm's pty handling code. It can be used as a lightweight preprocessor; for example the Linux kernel uses unifdef to strip out #ifdef __KERNEL__ sections from the headers it exports to userland. You can use unifdef with languages other than C; for example UIT, a publisher in Cambridge uses unifdef with LaTeX.
BSD
/usr/bin/unifdef /usr/bin/unifdefall /usr/share/man/man1/unifdef.1.zst /usr/share/man/man1/unifdefall.1.zst
Generated by rpm2html 1.8.1
Fabrice Bellet, Mon Jan 20 23:15:03 2025