Search 5,000,000+ questions and answers.

Frequently Asked Questions

How can I recover the file name given an open file descriptor?

Infrequently Asked Questions in comp.lang.c
You will have to search the filesystem for files of the same size as the file you're reading, and compare information in them to find the file you're working on.
Related Questions

Frequently Asked Questions: C Language (abridged)
This problem is, in general, insoluble. It is best to remember the names of files yourself as you open them
Related Questions

How can I recover the file name given an open stream or file descriptor?

System Dependencies
This problem is, in general, insoluble. Under Unix, for instance, a scan of the entire disk (perhaps involving special permissions) would theoretically be required, and would fail if the descriptor were connected to a pipe or referred to a deleted file (and could give a misleading answer for a file with multiple links). It is best to remember the names of files yourself as you open them (perhaps with a wrapper function around fopen).
Related Questions

Q#11.9: How do I get the file descriptor from a stdio FILE pointer?

news.answers/apple2/GNO-faq
A#11.9: Use the fileno() macro. This is defined in <stdio.h> as of GNO v2.0.6. For earlier versions you will have to add it in yourself. The proper macro definition for the ORCA/C headers is: #define fileno(p) ((p)->_file) Q#11.10: My (ported) source requires <sys/file.h>. Why isn't it there? A#11.10: <sys/file.h> has been superceded by <sys/fcntl.h>. Update your sources. Q#11.11: Why, when I '#include <types.
Related Questions

How can I suppress an entry in the open file descriptor report?

Frequently Asked Questions
Use the FileDesc error class in an MA_EXCLUDE statement. For example, given the following entry in the leak report:
Related Questions

MaPtrDataSize() 43. How can I turn off the open file descriptor report?

Frequently Asked Questions
If you do not want to generate the open file descriptor report when your program exits, set the MA_FD_AUTO_RPT option to off. If you do this, Memory Advisor will provide an open file descriptor report only when you explicitly call for one in your code by calling the MaReportFdLeaks() function.
Related Questions

Why I can't open the file after I download and How can I recover the lost list file?

FAQ
After you click download and window pops up, you should choose to save the file FIRST before you open it. Otherwise you may not be able to open the file. If this happens, download it again from My Workspace-->Download History or contact us to send you another copy.
Related Questions

a. If the computer freezes, can I still recover my file?

CUSSW: OCIT: Frequently Asked Questions
Your chance of file recovery strongly depends on if you have saved your file or not. It is good practice to always save a file under a name and keep saving as your continue working on the document. If you have not saved your file under a name, your chance of recovery is drastically decreased. We strongly recommend that users save and save often because backing up files is the user's own responsibility. Please see "how to set up Auto-Save" for more information on saving your files.
Related Questions

Will R-Studio family utilities recover long file names? Will it recover localized names?

R-TT - FAQ
On Windows NT, Windows 2000, or Windows XP operating systems R-Studio will recover files with file names to 32000 characters and restore original file names in any national encoding. Under Windows 95, Windows 98, or Windows ME there is a 255 characters limit for size of full path for recovered files. Encoding of a file name is limited by the language currently set in Windows.
Related Questions

I have a drawing that was given to me on file and I can’t open it. Is something wrong?

duovu | faq
It's probably in a format that you can't open. First, try selecting the icon of the file, and see if windows recognizes it and gives you an option to print it. If you can’t print it, try a program like Microsoft Word®, insert>picture>from file (find file). This should work for many formats. Then, you’ll also have a reference for adding your pictures.
Related Questions

What is a descriptor?

OpenVMS FAQ -&- page 15
A descriptor is a data structure that describes a string or an array. Each descriptor contains information that describes the type of the data being referenced, the size of the data, and the address of the data. It also includes a description of the storage used for the data, typically static or dynamic. Descriptors are passed by reference.
Related Questions

Given an encrypted file, can the computer which has been used for producing it be traced?

Frequently Asked Questions
If you turn on the option 'Show hidden files' in your file manager, you might see strange files in the directory where encryption occurs with names looking like 8AB59B31820F0000-6F060000-4D75603B. Those files are produced by the shredder. File shredding is a lengthy process, and in order to avoid name conflicts, the shredder renames the files in the shredding queue before processing. The strange names you see in the directory list are temporary names of the files being shredded.
Related Questions

Can you help me open my own merchant account with a personal bill descriptor?

FAQ about merchant account and credit card processing
Yes. PSBill offers all merchants the option of opening direct merchant accounts with unique, personalized billing descriptor.
Related Questions

What input file (class descriptor dataset) is used?

Schedule25 Frequently Asked Questions (FAQ)
datain.dat File contains the class descriptor records. Contains preassigned courses and courses that need a room.
Related Questions

How do I describe an 8-bit wide ROM in the locator descriptor file?

TASKING - Support for DSP56xxx C compiler toolset: Technical...
It is not useful to describe 8-bit wide devices in the locator descriptor file, because the assembler does not generate sections that fit an 8-bit device. They are best left out altogether. You must make sure that their memory range of the ROM is not used in other chip definitions. There is a feature in CrossView Pro to redirect the output of a stream to a file. The commands are: FSS_stdio_open filename,rwdirection,streamnumber FSS_stdio_close streamnumber For example: FSS_stdio_open myfile.
Related Questions

What are the valid values for the Session Descriptor inside the weblogic.xml file for WebLogic 6.1?

jGuru: AppServer FAQ Home Page
A list of valid parameter names for the Session Descriptor in webLogic 6.1 are as follows: CacheSize ConsoleMainAttribute CookieComment CookieD...
Related Questions

How to use fgets( ) to read on a file/socket descriptor?

Project 1
Could you tell me what the option "-lsocket -lnsl" is used for? How can I find this kind of options with command man? ( I tried man gcc, but cannot find them)
Related Questions

From which drives will FILE RECOVERY for Windows recover files?

File Recovery Software Technical Support
Under Windows NT, Windows 2000, or Windows XP operating systems FILE RECOVERY for Windows will recover files from all physical and logical drives, which are visible by OS. Under Windows 95, Windows 98 or Windows ME FILE RECOVERY for Windows will recover files from all logical drives visible by OS and from all physical drives, which are correctly accessible by Windows protected mode I/O subsystem.
Related Questions

When I recover files I get "Can't read file to be recovered completely (801)". What does it mean?

R-TT - FAQ
It means that the file under consideration extends beyond the partition it resides on. That means either severe data lost or that you use wrong Recognized partition to recover the file. Please explore all such partitions. A Red cross on the icon means that file has been deleted and will have to be recovered to be accessed by the system. That is it. Files without the red cross are not marked as deleted.
Related Questions

How do I recover a lost or deleted file?

BioHelp - Frequently Asked Questions
We can only help recovering files that were saved to our servers (mainly to BioArk) and that resided on the server for at least one day. Please send us the date the file was deleted/lost and its name and location (folder path on the server), and we will try to restore it for you if it is possible. Some of the CCI IBM computers (8187 and 8189 series) have trouble automatically recognizing external USB devices plugged into them (USB memory keys and other external drives).
Related Questions

How much can I recover if I file suit?

Overtime Cases | Frequently Asked Questions
The FLSA allows you to recover the overtime and/or minimum wages you should have been paid within the time frames discussed above. In some cases, you can also recover liquidated damages in an amount equal to the wages you are owed. If you prevail in your claim, you may also be awarded attorneys' fees and costs. Back to top
Related Questions

Can I recover my upgrade license file?

Windows Vista: Windows Anytime Upgrade: Installation Overvie...
Yes. If you need to recover your upgrade license file so that you can restore your computer, a copy of your upgrade license file is available from the digital locker website from Microsoft.
Related Questions

I accidentally deleted a file. Can I recover it?

CLUE Computing Support
Backups are performed nightly after hours. In order for your file to have been backed up, it must have existed at least over night so it was saved to tape. If this was the case, email clue@iastate.edu, and give us the full path to the file that you deleted, and the time that you deleted it so we can grab the latest version.
Related Questions

Can I recover just one file?

Connected Backup at University of Michigan
Yes. Please refer to the section: "Restoring Data" in UofM Guide to Successful WorkStation Disaster Recovery.
Related Questions

Can I recover a file I have just erased?

TELUSYS | Products | Sitemanager FTP - FTP Integration for t...
Deleted files are permanently erased. Telusys can restore file(s) from backup tapes for a fee. The file(s) must have been present at the time of the last backup to be restorable. Programs do not automatically update themselves to reflect changes you have made to the look of your Web site. If you have changed the graphics or layout of your site, Telusys must update the affected programs so they also reflect the changes you have made.
Related Questions

Can I recover an older version of a file?

FileBackup FAQs - Find Answers About FileBackup Online Backu...
Old versions of each file are kept at the data center for 30 days. You can easily browse and restore older versions of a file. This is the ultimate failsafe for anyone who has accidentally overwritten a file.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact