OpenCores
URL https://opencores.org/ocsvn/forwardcom/forwardcom/trunk

Subversion Repositories forwardcom

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 78 to Rev 79
    Reverse comparison

Rev 78 → Rev 79

/forwardcom/libraries/fflush.as
0,0 → 1,22
/********************************* fflush.as ********************************
* Author: Agner Fog
* date created: 2018-03-21
* Last modified: 2018-03-21
* Version: 1.00
* Project: ForwardCom library libc.li
* Description: fflush function. Flush file
* C declaration: int fflush(FILE *stream);
*
* Copyright 2018 GNU General Public License http://www.gnu.org/licenses
*****************************************************************************/
 
code section execute align = 4
 
_fflush function public reguse = 1
 
sys_call(1, 0x114) // system call fflush
return
 
_fflush end
 
code end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.