Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8301009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:46:36+00:00 2026-06-08T16:46:36+00:00

I am making an extension for an application. My extension uses SolFS and I

  • 0

I am making an extension for an application. My extension uses SolFS and I want to use it to redirect all file traffic to SolFS. To accomplish this I need a bit of help because SolFS has not the equivalents for all needed functions (3 to be exactly)

This is the code which I will be ‘converting’: http://pastebin.com/REh5MqSa

Here is a list of stuff SolFS has:

//stuff I need which SolFS has
x    remove
x    fopen
x    fclose
x    fwrite
x    fread
x    access
x    fgetpos
x    fsetpos

This ones I can easily create on my own:

//stuff I can easily make
fgetc//I can easily make this one, Read with length onecand add one position to the seek, right?
fputc//Also easily done, write with seek, 1 char

And with this ones I would need your help:

//stuff solFS doesn't have and I need help with
ungetc//how would i create an equivalent in for use with SolFS?
lseek//how would I create an lseek?
fileno//how? for use with lseek

How would I accomplish creating ungetc, lseek and fileno (fileno is for use with lseek) equivalents with the provided functions by SolFS?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T16:46:38+00:00Added an answer on June 8, 2026 at 4:46 pm

    I think it is better to ask your question on Eldos website in the forum or HelpDesk.

    In order to implement ungetc you have to allocate a small buffer put the character there in ungetc function and examine the buffer in fgetc function.

    lseek function you can implement via SolFSStream.Seek method, so I don’t think you need to impement fileno function.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im making firefox extension. One function stores value in every tab, to use it
I am making a chrome extension that will open all links on a page
I am making a chrome extension to get urls of all open tabs and
I am making a qt application which allows the user to select a file
In order to use SetWindowsHookEx in a GUI application, you usually want in the
I am making an extension method library to use in windows form applications. One
A website that I'm working on is making extensive use of the HttpContext.Current.Application store
i making a file transfer (server-client) application .. i have two listviewS to explore
Im making an application that uses of API-threads in C, The program takes N-files
I am making an application which takes a URL with. *.asp extension and we

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.