How to Read file data in LINUX

Source: Internet
Author: User
How to Read file data in LINUX-General Linux technology-Linux programming and kernel information. This is my WINDOWS. execution passed,

Push 0
Push 80
Push 3
Push 0
Push 1
Push 80000000
Push 00478924; ASCII "c: \ windows \ neptune. dat" file to be read
Call Put the file return handle in EAX.
Push 51BF
Mov edx, esp
Push 0
Push edx
Push 51BF data size
Push esi ESI is the data writing location,
Push eax
Call

In this way, all the file data is read into the ESI address.

What I want to know is what functions should be used in LINUX and how to implement the above functions .....
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.