# listbi command

The listbi command lists the built-in
c functions in the item UNIX.builtin, c.builtin (MS-DOS) and user.builtin
located in the dm,messages, file. These include
any built-in c functions that have been added using the addbi command.

## Syntax

```
listbi {(options}
```

## Parameter(s)

| options | p | Directs output to the system printer via the spooler. |
| --- | --- | --- |
| s | Lists the system (predefined) functions only. | |
| u | Lists the user-defined functions only. | |

## Example(s)

```
listbi
System Functions
Num Name Num Name Num Name
62 ALARM 78 CALLOC 0 CHDIR
1 CHMOD 2 CHOWN 3 CLOSE
72 CPSTARTUP 4 CREAT 5 DUP
7 FCLOSE 8 FDOPEN 11 FGETC
12 FGETS 14 FOPEN 15 FPRINTF
16 FPUTC 17 FPUTS 6 FREE
18 FREOPEN 51 FSIZE 67 GETENV
20 GETPGRP 19 GETPID 21 GETPPID
22 IOCTL 23 KIL 24 LSEEK
25 MALLOC 81 MEMCCPY 82 MEMCHR
80 MEMCPY 83 MEMXCPY 56 OPEN
27 PAUSE 65 PCLOSE 56 PGETPID
28 PIPE 76 PLDMEMALLOC 79 PLDMEMFREE
64 POPEN 9 PRINTF 79 PSTRALLOC
68 PUTENV 13 RDHEX 29 READ
30 SEMCTL 31 SEMGET 32 SEMOP
33 SHMCTL 58 SHMDT 34 SHMGET
10 SPRINTF 70 STRCAT 36 STRCPY
69 STRLEN 63 STTY 75 UNLOAD
49 USER0 50 USER1 37 WAIT
59 WHEX 38 WRITE
No user function is currently defined.
```

## See also

- [addbi command](https://d3codex.com/tcl/addbi-command/)
- [FlashBASIC C functions overview](https://d3codex.com/pickbasic-flashbasic/flashbasic-c-functions-overview/)
- [Creating user-defined C functions (D3 UNIX)](https://d3codex.com/pickbasic-flashbasic/creating-user-defined-c-functions-d3-unix/)
- [rmbi command](https://d3codex.com/tcl/rmbi-command/)
- [set-cmem command](https://d3codex.com/tcl/set-cmem-command/)

---
Source: https://d3codex.com/tcl/listbi-command/ - part of the D3Codex reference.
