flat assembler
Message board for the users of flat assembler.

Index > Linux > How to use c fopen and fwrite in asm?

Author
Thread Post new topic Reply to topic
dstyl



Joined: 23 Jul 2015
Posts: 67
dstyl 25 Apr 2017, 15:18
Hello dear fasmboard members,
i want to use the fwopen and fwrite from c in asm under linux.
Does someone know how it works?
Thanks in advance Smile
Post 25 Apr 2017, 15:18
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20344
Location: In your JS exploiting you and your system
revolution 25 Apr 2017, 15:23
You need look no further than the fasm source itself. Grab the libc version of fasm and examine the SYSTEM.INC source.
Post 25 Apr 2017, 15:23
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8354
Location: Kraków, Poland
Tomasz Grysztar 25 Apr 2017, 15:31
revolution wrote:
You need look no further than the fasm source itself. Grab the libc version of fasm and examine the SYSTEM.INC source.
The same file from the libc version of fasmg might be a better choice, since it has some comments about what goes where.
Post 25 Apr 2017, 15:31
View user's profile Send private message Visit poster's website Reply with quote
dstyl



Joined: 23 Jul 2015
Posts: 67
dstyl 25 Apr 2017, 15:34
Thanks for the advice Smile I will check it out
Post 25 Apr 2017, 15:34
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.