URL
https://opencores.org/ocsvn/forwardcom/forwardcom/trunk
Subversion Repositories forwardcom
Compare Revisions
- This comparison shows the changes necessary to convert path
/forwardcom/libraries
- from Rev 85 to Rev 86
- ↔ Reverse comparison
Rev 85 → Rev 86
/ftell.as
0,0 → 1,22
/********************************* ftell.as ********************************* |
* Author: Agner Fog |
* date created: 2018-03-21 |
* Last modified: 2018-03-21 |
* Version: 1.00 |
* Project: ForwardCom library libc.li |
* Description: ftell function. Get current position of file |
* C declaration: long int ftell(FILE *stream); |
* |
* Copyright 2018 GNU General Public License http://www.gnu.org/licenses |
*****************************************************************************/ |
|
code section execute align = 4 |
|
_ftell function public reguse = 1 |
|
sys_call(1, 0x116) // system call ftell |
return |
|
_ftell end |
|
code end |