NAME
ExtUtils::Typemaps::Signo - A typemap for dealing with signal numbers and names
VERSION
version 0.009
SYNOPSIS
use ExtUtils::Typemaps::Signo;
# First, read my own type maps:
my $private_map = ExtUtils::Typemaps->new(file => 'my.map');
# Then, get the Signo template and merge it into my maps
my $map = ExtUtils::Typemaps::Signo->new;
$private_map->merge(typemap => $map);
# Now, write the combined map to an output file
$private_map->write(file => 'typemap');
DESCRIPTION
ExtUtils::Typemaps::Signo is an ExtUtils::Typemaps subclass that provides a typemap (T_SIGNO) for the C type signo_t. It will take a signal name (e.g. TERM) or number (e.g. 15), and turn it into the appropriate number. Do note you need to typedef int to this type yourself to use it.
AUTHOR
Leon Timmermans <fawaka@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.