Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

callback(3) [centos man page]

Callback(3)							   OCaml library						       Callback(3)

NAME
Callback - Registering OCaml values with the C runtime. Module Module Callback Documentation Module Callback : sig end Registering OCaml values with the C runtime. This module allows OCaml values to be registered with the C runtime under a symbolic name, so that C code can later call back registered OCaml functions, or raise registered OCaml exceptions. val register : string -> 'a -> unit Callback.register n v registers the value v under the name n . C code can later retrieve a handle to v by calling caml_named_value(n) . val register_exception : string -> exn -> unit Callback.register_exception n exn registers the exception contained in the exception value exn under the name n . C code can later retrieve a handle to the exception by calling caml_named_value(n) . The exception value thus obtained is suitable for passing as first argument to raise_constant or raise_with_arg . OCamldoc 2014-06-09 Callback(3)

Check Out this Related Man Page

Term::Filter::Callback(3pm)				User Contributed Perl Documentation			       Term::Filter::Callback(3pm)

NAME
Term::Filter::Callback - Simple callback-based wrapper for Term::Filter VERSION
version 0.03 SYNOPSIS
use Term::Filter::Callback; my $term = Term::Filter::Callback->new( callbacks => { munge_input => sub { my $self = shift; my ($got) = @_; $got =~ s/ce/E- Elbereth /g; $got; }, munge_output => sub { my $self = shift; my ($got) = @_; $got =~ s/(Elbereth)/e[35m$1e[m/g; $got; }, }, ); $term->run('nethack'); DESCRIPTION
This module provides a callback-based API to Term::Filter. The desired callbacks can just be passed into the constructor of this class, rather than requiring a new class to be manually defined. This class consumes the Term::Filter role, so the rest of the documentation in that module applies here. ATTRIBUTES
callbacks A hashref of callbacks for Term::Filter. The keys are callback names and the values are coderefs to call for those callbacks. AUTHOR
Jesse Luehrs <doy at tozt dot net> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Jesse Luehrs. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-03-08 Term::Filter::Callback(3pm)
Man Page

4 More Discussions You Might Find Interesting

1. Cybersecurity

J need help to make callback by Modem (AIX)

Are there any of you who have a description which can help me to make a callback on AIX. My userīs call in by a telefonnumber at I want AIX to disconnect the line and make a callback to the user who had logged on AIX. The advantage of this is we have security on who we allow to call our... (2 Replies)
Discussion started by: Carsten Lesmark
2 Replies

2. IP Networking

Connect to RAS callback server: route problem

I'm trying to use my Gentoo Linux home workstation for connecting to a Windows RAS callback server through analogic telephone line (PSTN). I'm using pppd and successfully configured pppd's options and chat files, both for the outgoing call and for receiving the incoming callback. All seems going... (20 Replies)
Discussion started by: robotronic
20 Replies

3. UNIX for Advanced & Expert Users

Looking for resource on setting up history callback for shells

CSH, BASH, KSH, TCSH... They're all different, and I want to know how to setup automatic history for each of them? I always use KSH myself and use ctrl-k to bringup my history. It also allows me to search my history and has vi editing. I want to be able to do the same with other shells. I... (0 Replies)
Discussion started by: srhadden
0 Replies

4. Red Hat

Cause PCIe error callbacks using AER injection

I am trying to cause a callback in the Linux nvme driver by using AER injection. I've modified the AER source code to directly inject errors through module loading rather than from userland program. I've verified that I got the correct bus, dev, and fn and that the error injection went... (0 Replies)
Discussion started by: Decrypto
0 Replies