#include "libc.h"#include "types.h"#include "misc.h"#include "args.h"Defines | |
| #define | _XOPEN_SOURCE |
Functions | |
| void | fatal (const char *msg) |
| static void | print_argv0 (void) |
| void | fatalf (const char *fmt,...) |
| void | fatalfr (const char *fmt,...) |
| void | debugf (const char *fmt,...) |
| void | debugff (const char *fmt,...) |
| FILE * | ckopen (const char *name, const char *mode) |
| void * | ckalloc (size_t amount) |
| void * | ckallocz (size_t amount) |
| void * | ckfree (void *p) |
| bool | same_string (const char *s, const char *t) |
| char * | copy_string (const char *s) |
| char * | copy_substring (const char *s, int n) |
| long | ckftell (FILE *f) |
| int | ckfseek (FILE *f, long i, int m) |
| void * | ckrealloc (void *p, size_t size) |
| FILE * | ckpopen (const char *name, const char *mode) |
| void | ckpclose (FILE *fp) |
Variables | |
| static const char | rcsid [] |
| int | psublast_debug = 0 |
| #define _XOPEN_SOURCE |
| void* ckalloc | ( | size_t | amount | ) |
References fatalf().
Referenced by add_word(), align_get_dist(), align_path(), bld_table(), ckallocz(), copy_string(), copy_substring(), exon_cores(), extend_bw(), extend_fw(), extend_hit(), get_strargval(), greedy(), link_to_data_list(), new_exon(), new_splice(), pluri_align(), print_align_blk(), print_align_lat(), splice(), splice_acceptor(), splice_acceptor_uni(), splice_donor(), splice_donor_uni(), Xextend_bw(), and Xextend_fw().
| void* ckallocz | ( | size_t | amount | ) |
References ckalloc().
| void* ckfree | ( | void * | p | ) |
| int ckfseek | ( | FILE * | f, | |
| long | i, | |||
| int | m | |||
| ) |
References fatalfr().
| long ckftell | ( | FILE * | f | ) |
References fatalfr().
| FILE* ckopen | ( | const char * | name, | |
| const char * | mode | |||
| ) |
References fatalfr().
| void ckpclose | ( | FILE * | fp | ) |
References fatalfr().
| FILE* ckpopen | ( | const char * | name, | |
| const char * | mode | |||
| ) |
References fatalfr().
| void* ckrealloc | ( | void * | p, | |
| size_t | size | |||
| ) |
References fatal().
| char* copy_string | ( | const char * | s | ) |
References ckalloc().
| char* copy_substring | ( | const char * | s, | |
| int | n | |||
| ) |
References ckalloc().
| void debugf | ( | const char * | fmt, | |
| ... | ||||
| ) |
References print_argv0(), and psublast_debug.
| void debugff | ( | const char * | fmt, | |
| ... | ||||
| ) |
References print_argv0(), and psublast_debug.
| void fatal | ( | const char * | msg | ) |
References fatalf().
Referenced by cds_range(), check_consistency_intron_ori(), ckrealloc(), complement_exons(), exon_cores(), find_ends(), find_previous(), IDISPLAY(), main(), print_align_header_n(), print_exons(), print_pipmaker_exons(), stepct(), and sync_slide_intron().
| void fatalf | ( | const char * | fmt, | |
| ... | ||||
| ) |
| void fatalfr | ( | const char * | fmt, | |
| ... | ||||
| ) |
| static void print_argv0 | ( | void | ) | [static] |
| bool same_string | ( | const char * | s, | |
| const char * | t | |||
| ) |
| int psublast_debug = 0 |
const char rcsid[] [static] |
Initial value:
"$Id: misc.cpp,v 1.1.1.1 2007-07-13 03:44:06 kzhou Exp $"
1.5.6