Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
program exit handlers
Exit process grid
Terminate Slonik script with signal
shape complexity node
XtAppSetExitFlag(3), XtAppGetExitFlag(3)
thread support functions
_nc_free_and_exit(3x), _nc_freeall _nc_free_and_exit(3x)
curses memory-leak checking
Closes down the Allegro system
atf-c-api(3), ATF_CHECK(3), ATF_CHECK_MSG(3), ATF_CHECK_EQ(3), ATF_CHECK_EQ_MSG(3), ATF_CHECK_MATCH(3), ATF_CHECK_MATCH_MSG(3), ATF_CHECK_STREQ(3), ATF_CHECK_STREQ_MSG(3), ATF_CHECK_ERRNO(3), ATF_REQUIRE(3), ATF_REQUIRE_MSG(3), ATF_REQUIRE_EQ(3), ATF_REQUIRE_EQ_MSG(3), ATF_REQUIRE_MATCH(3), ATF_REQUIRE_MATCH_MSG(3), ATF_REQUIRE_STREQ(3), ATF_REQUIRE_STREQ_MSG(3), ATF_REQUIRE_ERRNO(3), ATF_TC(3), ATF_TC_BODY(3), ATF_TC_BODY_NAME(3), ATF_TC_CLEANUP(3), ATF_TC_CLEANUP_NAME(3), ATF_TC_HEAD(3), ATF_TC_HEAD_NAME(3), ATF_TC_NAME(3), ATF_TC_WITH_CLEANUP(3), ATF_TC_WITHOUT_HEAD(3), ATF_TP_ADD_TC(3), ATF_TP_ADD_TCS(3), atf_tc_get_config_var(3), atf_tc_get_config_var_wd(3), atf_tc_get_config_var_as_bool(3), atf_tc_get_config_var_as_bool_wd(3), atf_tc_get_config_var_as_long(3), atf_tc_get_config_var_as_long_wd(3), atf_no_error(3), atf_tc_expect_death(3), atf_tc_expect_exit(3), atf_tc_expect_fail(3), atf_tc_expect_pass(3), atf_tc_expect_signal(3), atf_tc_expect_timeout(3), atf_tc_fail(3), atf_tc_fail_nonfatal(3), atf_tc_pass(3), atf_tc_skip(3), atf_utils_cat_file(3), atf_utils_compare_file(3), atf_utils_copy_file(3), atf_utils_create_file(3), atf_utils_file_exists(3), atf_utils_fork(3), atf_utils_free_charpp(3), atf_utils_grep_file(3), atf_utils_grep_string(3), atf_utils_readline(3), atf_utils_redirect(3), atf_utils_wait(3)
C API to write ATF-based test programs
atf-sh-api(3), atf_add_test_case(3), atf_check(3), atf_check_equal(3), atf_config_get(3), atf_config_has(3), atf_expect_death(3), atf_expect_exit(3), atf_expect_fail(3), atf_expect_pass(3), atf_expect_signal(3), atf_expect_timeout(3), atf_fail(3), atf_get(3), atf_get_srcdir(3), atf_pass(3), atf_require_prog(3), atf_set(3), atf_skip(3), atf_test_case(3)
POSIX shell API to write ATF-based test programs
au_token(3), au_to_arg32(3), au_to_arg64(3), au_to_arg(3), au_to_attr64(3), au_to_data(3), au_to_exit(3), au_to_groups(3), au_to_newgroups(3), au_to_in_addr(3), au_to_in_addr_ex(3), au_to_ip(3), au_to_ipc(3), au_to_ipc_perm(3), au_to_iport(3), au_to_opaque(3), au_to_file(3), au_to_text(3), au_to_path(3), au_to_process32(3), au_to_process64(3), au_to_process(3), au_to_process32_ex(3), au_to_process64_ex(3), au_to_process_ex(3), au_to_return32(3), au_to_return64(3), au_to_return(3), au_to_seq(3), au_to_sock_inet32(3), au_to_sock_inet128(3), au_to_sock_inet(3), au_to_socket_ex(3), au_to_subject32(3), au_to_subject64(3), au_to_subject(3), au_to_subject32_ex(3), au_to_subject64_ex(3), au_to_subject_ex(3), au_to_me(3), au_to_exec_args(3), au_to_exec_env(3), au_to_header(3), au_to_header32(3), au_to_header64(3), au_to_header_ex(3), au_to_header32_ex(3), au_to_trailer(3), au_to_zonename(3)
routines for generating BSM audit tokens
cdk_objs(3), cleanCdkTitle drawCdkTitle positionCDKObject setCDKObjectBackgroundColor setCDKObjectPostProcess setCDKObjectPreProcess setCdkExitType setCdkTitle validCDKObject cdk_objs(3)
Cdk object-support functions
cdk_traverse(3), exitCancelCDKScreen exitCancelCDKScreenOf exitOKCDKScreen exitOKCDKScreenOf getCDKFocusCurrent resetCDKScreen resetCDKScreenOf setCDKFocusCurrent setCDKFocusFirst setCDKFocusLast setCDKFocusNext setCDKFocusPrevious traverseCDKOnce traverseCDKScreen cdk_traverse(3)
functions to support keyboard traversal
count lines, packages, subs and complexity of Perl files
dbh_sweep(3), dbh_fanout(3), dbh_foreach_sweep(3), dbh_foreach_fanout(3), dbh_exit_sweep(3), dbh_exit_fanout(3)
apply a function to all or part of the DBHashtable
ecalloc(3), emalloc(3), eread(3), erealloc(3), esetenv(3), estrdup(3), ewrite(3)
exit-on-failure wrapper functions
multiplex several channels over a single socket with sampling of remote process exit status, and provide conversation termination without closing the socket. netpipes 4.2
print an explanation of exit status before exiting require_index { }
filter_wait(3), filter_wait (3)
wrap waitpid to decode the exitcode and why your filter quit
send quit message to gcin
command line interface xmgrace - full-featured GUI mode gracebat - batch mode - print and exit
html_score(1), "html_score"(1)
Show complexity metric and other stats for web page
get the remote exit signal
get the remote exit code
global library deinitialization
Sends a command to a linphonec running in daemon mode, and exits
count lines, packages, subs and complexity of Perl files
count lines, packages, subs and complexity of Perl files
pipe two commands, returning the exit status of the first
ne_sock_init(3), ne_sock_exit(3)
perform library initialization
make sure the page description stream is out of graphics mode
panic(l), warn(l)
print error or warning message and eventualy exit
pcl(3), co_create(3), co_call(3), co_resume(3), co_delete(3), co_exit_to(3), co_exit(3), co_current(3)
C coroutine management
Run a command and if another PID exits, kill the command
calculate McCabe cyclomatic complexity or non-commented line counts for C and C++ programs
Exit from pts interactive mode
Tells the local pvmd that this process is leaving PVM
Advanced commandline hexadecimal editor, disassembler and debugger Apr 2, 2013 SYNOPSIS radare2 Fl a Ar arch Fl b Ar bits Fl B Ar baddr Fl c Ar cmd Fl e Ar k=v Fl i Ar file Fl k Ar kernel Fl p Ar project Fl P Ar patch Fl s Ar addr Fl AdDwntLqv file DESCRIPTION radare2 is a commandline hexadecimal editor. "r2" is the alias program name for radare2. This manpage is not updated yet. Feel free to contribute. The options are: -tag -width Fl Fl a Ar arch force asm.arch (x86, ppc, arm, mips, bf, java, ...) Fl A run 'aa' command before prompt or patch to analyze all referenced code Fl b Ar bits force asm.bits (16, 32, 64) Fl B Ar baddr Specify the base address to be used when loading a new binary. See 'e?bin.baddr' Fl c Ar cmd Execute the given command before giving prompt Fl d Start in debugger mode Fl D Ar dbg.backend Enable debug mode. Set cfg.debug=true Fl e Ar k=v Set configuration eval variable key=value. For example -e scr.color=false Fl f Blocksize = file size Fl i Ar file Run script file Fl k Ar kernel Select kernel (asm.os) for syscall resolution Fl l Ar plugfile Load given plugin file Fl L List supported IO plugins. Fl n Do not load user settings/projects from ~/.radare2rc and ~/.config/radare2/. Fl N Do not perform any analysis (r_bin). Just load the raw file. Fl q Quiet mode (no prompt) Fl p Ar prj Set project file Fl P Ar file Apply rapatch file and quit Fl s Ar addr Start seeking at this address Fl t Get binary information using a thread Fl v Show version information and exits. Fl w Open in write mode Fl h Show help message Fl H Show files and environment help SHELL Type '?' for help. VISUAL To enter visual mode use the 'V' command. Then press '?' for help. DEBUGGER In r2 the debugger commands are implemented under the 'd' command. Type 'd?' for help. ENVIRONMENT These values can be used from scripts launched from inside radare ('!' command) FILE path to the current working file SEE ALSO rahash2(1) , rafind2(1) , rabin2(1) , radiff2(1) , rasm2(1) , rax2(1) , ragg2(1) , rarun2(1) , AUTHORS pancake <>, nibble <>
Advanced commandline hexadecimal editor Apr 2, 2013 SYNOPSIS rafind2 Fl zZXnrhv Fl b Ar size Fl f Ar from Fl t Ar to Fl [m|s|e] Ar str Fl x Ar hex file DESCRIPTION rafind2 is a program to find byte patterns into files The options are: -tag -width Fl Fl z Search for zero-terminated strings Fl s Ar str Search for a specific string Fl e Ar regex Search for a regular expression string matches Fl x Ar hex Search for an hexpair string Fl m Ar mask Set binary mask to be applied Fl f Ar from Specify the source adddress Fl t Ar to Specify the target adddress Fl X Display hexdump of search results Fl Z Display zero-terminated strings results Fl n Do not stop the search when a read error occurs Fl r Show output in radare commands Fl b Ar size Define block size Fl h Show help message Fl v Print version and exit SEE ALSO radare2(1) , rahash2(1) , rabin2(1) , radiff2(1) , rasm2(1) , ragg2(1) , rarun2(1) , rax2(1) , AUTHORS pancake <>, nibble <>
radare2 utility to run programs in exotic environments Apr 2, 2013 SYNOPSIS ragg2 Fl a Ar arch Fl b Ar bits Fl k Ar kernel Fl f Ar format Fl o Ar file Fl i Ar shellcode Fl I Ar path Fl e Ar encoder Fl B Ar hexpairs Fl c Ar k=v Fl C Ar file Fl d Ar off:dword Fl D Ar off:qword Fl w Ar off:hexpair Fl p Ar padding Fl FOLsrxvh DESCRIPTION ragg2 is a frontend for r_egg, compile programs into tiny binaries for x86-32/64 and arm. This tool is experimental and it is a rewrite of the old rarc2 and rarc2-tool programs as a library and integrated with r_asm and r_bin. Programs generated by r_egg are relocatable and can be injected in a running process or on-disk binary file. ragg2-cc is another tool that comes with r2 and it is used to generate shellcodes from C code. The final code can be linked with rabin2 and it is relocatable, so it can be used to inject it on any remote process. ragg2-cc is conceptually based on shellforge4, but only linux/osx x86-32/64 platforms are supported. DIRECTIVES The rr2 (ragg2) configuration file accepts the following directives, described as key=value entries and comments defined as lines starting with '#'. -tag -width Fl Fl a Ar arch set architecture x86, arm Fl b Ar bits 32 or 64 Fl k Ar kernel windows, linux or osx Fl f Ar format select binary format (pe, elf, mach0) Fl o Ar file output file to write result of compilation Fl i Ar shellcode specify shellcode name to be used (see -L) Fl e Ar encoder specify encoder name to be used (see -L) Fl B Ar hexpair specify shellcode as hexpairs Fl c Ar k=v set configure option for the shellcode encoder. The argument must be key=value. Fl C Ar file include contents of file Fl d Ar off:dword Patch final buffer with given dword at specified offset Fl D Ar off:qword Patch final buffer with given qword at specified offset Fl w Ar off:hexpairs Patch final buffer with given hexpairs at specified offset Fl p Ar padding Specify generic paddings with a format string. Fl F autodetect native file format (osx=mach0, linux=elf, ..) Fl O use default output file (filename without extension or a.out) Fl I Ar path add include path Fl s show assembler code Fl x execute (just-in-time) EXAMPLE $ cat hi.r /* hello world in r_egg */ write@syscall(4); exit@syscall(1); main@global(128) { .var0 = "hi!
Read the header from an RLE file. rle_get_setup_ok - Print error message and exit if rle_get_setup fails. rle_get_error - Print error message for rle_get_setup failure. rle_debug - Turn on or off debugging messages
Open a binary file for input or output with defaults. rle_open_f_noexit - Returns error code instead of exiting
sh(1), for(1), case(1), if(1), while(1), : (1), . (1), break(1), continue(1), cd(1), eval(1), exec(1), exit(1), export(1), login(1), newgrp(1), read(1), readonly(1), set(1), shift(1), times(1), trap(1), umask(1), wait(1)
command language
smi_config(3), smiInit(3), smiExit(3), smiSetErrorLevel(3), smiGetFlags(3), smiSetFlags(3), smiLoadModule(3), smiGetPath(3), smiSetPath(3), smiReadConfig(3)
SMI library configuration routines
Flag to deactivate the emergency exit key combination. Allegro game programming library
Logs real-time accounting daemon SYNOPSIS tstatd [ options ] plugin [zone1:]wildcard1 .. [zoneN:]wildcardN OPTIONS "-a zone, --agregate-zone=zone" 4 Item "-a zone, --agregate-zone=zone" Agregate data from all anonymous logs (wildcards without explicit zone specified) into zone. Default behavior is to create new zone for each anonymous log from its file name. "-b file, --database-file=file" 4 Item "-b file, --database-file=file" Use file as persistent storage to keep accumulated data across daemon restarts. Default is auto generated from daemon name, specified identity and '.db' suffix. "--basename" 4 Item "--basename" Use only base name (excluding directories and suffix) of anonymous log file for auto-created zones. "-c dir, --change-dir=dir" 4 Item "-c dir, --change-dir=dir" Change current directory to dir before wildcards expanding. "-d, --debug" 4 Item "-d, --debug" Composition of options: --foreground and --log-level=debug. "-f, --foreground" 4 Item "-f, --foreground" Don't detach daemon from control terminal, logging to stderr instead log file or syslog. "--log-facility=name" 4 Item "--log-facility=name" Use name as facility for syslog logging (see syslog (3) for list of available values). Default is 'daemon'. "--log-level=level" 4 Item "--log-level=level" Set minimal logging level to level (see syslog (3) for list of available values). Default is 'notice'. "--log-file=file" 4 Item "--log-file=file" Use logging to file instead of syslog logging (which is default). "-e num, --expand-period=num" 4 Item "-e num, --expand-period=num" Do wildcards re-expanding and checking for new and missed logs every num seconds. Default is '60'. "-h, --help" 4 Item "-h, --help" Print brief help message about available options. "-i string, --identity=string" 4 Item "-i string, --identity=string" Just a string used in title of daemon process, syslog ident (see syslog|(3)), --database-file and --pid-file. Idea behind this options - multiple tstatd instances running simultaneosly. "-l [address:]port, --listen=[address:]port" 4 Item "-l [address:]port, --listen=[address:]port" Specify address and port for TCP listen socket binding. Default is ''. "--multiple" 4 Item "--multiple" With this option specified same log file could be included into several zones (if log name satisifies several wildcards). Default behavior is to include log file only in first satisified zone. "-n num, --windows-num=num" 4 Item "-n num, --windows-num=num" Set number of sliding-windows to num. Default is '60'. "-o string, --options=string" 4 Item "-o string, --options=string" Comma-separated plugin supported options (like a mount (8) options). "--override-from=file" 4 Item "--override-from=file" Load content of file into plugin package namespace. This is way to easy customize plugin behavior without creating another plugin. "-p file, --pid-file=file" 4 Item "-p file, --pid-file=file" Use file to keep daemon process id. Default is auto generated from daemon name, specified identity and '.pid' suffix. "--parse-error=level" 4 Item "--parse-error=level" Do logging with level (see syslog (3) for available values) about all unparsed log lines. Hint: use 'none' for ignoring such lines. Default is defining by plugin and usually is 'debug'. "-r pattern, --regex=pattern" 4 Item "-r pattern, --regex=pattern" Use pattern instead of plugin default regular expression for matching log lines. "--regex-from=file" 4 Item "--regex-from=file" Load regular expression from file and use instead of plugin default regular expression for matching log lines. "-s num, --store-period=num" 4 Item "-s num, --store-period=num" Store accumulated data in a persistent storage every num seconds. Default is '60'. "--timer=zone:timer:num" 4 Item "--timer=zone:timer:num" Create named timer firing every num seconds for zone. "-u <user>, --user=user" 4 Item "-u <user>, --user=user" Change effective privileges of daemon process to user. "-v, --version" 4 Item "-v, --version" Print version information of tstatd and exit. "-w num, --window-size=<num>" 4 Item "-w num, --window-size=<num>" Set size (duration) of sliding window to num seconds. Default is '10'
home | help