FreeBASIC  0.91.0
str_oct_ptr.c
Go to the documentation of this file.
1 /* oct(any ptr) function */
2 
3 #include "fb.h"
4 
6 {
7 #ifdef HOST_64BIT
8  return fb_OCT_l( (unsigned long long int)p );
9 #else
10  return fb_OCT_i( (unsigned int)p );
11 #endif
12 }
13 
14 FBCALL FBSTRING *fb_OCTEx_p( void *p, int digits )
15 {
16 #ifdef HOST_64BIT
17  return fb_OCTEx_l( (unsigned long long int)p, digits );
18 #else
19  return fb_OCTEx_i( (unsigned int)p, digits );
20 #endif
21 }