FreeBASIC  0.91.0
str_bin.c
Go to the documentation of this file.
1 /* bin$ routines */
2 
3 #include "fb.h"
4 
5 FBCALL FBSTRING *fb_BIN_b ( unsigned char num )
6 {
7  return fb_BINEx_l( num, 0 );
8 }
9 
10 FBCALL FBSTRING *fb_BIN_s ( unsigned short num )
11 {
12  return fb_BINEx_l( num, 0 );
13 }
14 
15 FBCALL FBSTRING *fb_BIN_i ( unsigned int num )
16 {
17  return fb_BINEx_l( num, 0 );
18 }
19 
20 FBCALL FBSTRING *fb_BINEx_b( unsigned char num, int digits )
21 {
22  return fb_BINEx_l( num, digits );
23 }
24 
25 FBCALL FBSTRING *fb_BINEx_s( unsigned short num, int digits )
26 {
27  return fb_BINEx_l( num, digits );
28 }
29 
30 FBCALL FBSTRING *fb_BINEx_i ( unsigned int num, int digits )
31 {
32  return fb_BINEx_l( num, digits );
33 }