FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
str_oct_ptr.c
Go to the documentation of this file.
1
/* oct(any ptr) function */
2
3
#include "
fb.h
"
4
5
FBCALL
FBSTRING
*
fb_OCT_p
(
void
*
p
)
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
}
rtlib
str_oct_ptr.c
Generated on Thu Jan 23 2014 19:40:13 for FreeBASIC by
1.8.4