Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-04-2004, 02:36 PM   #1
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Rep: Reputation: 30
What function does linux call to save a file ?

What system function does linux call when it saves a file. What I am trying to accomplish is having this function do something extra every time a file is saved.
Old 06-04-2004, 03:53 PM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,756

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
usually: open, write, close
Old 06-04-2004, 04:03 PM   #3
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
Thanks for the reply. I looked at unistd.h and studied the write(2) function. Then a minute later it hit me that I was doing things the hard way. I have a server in which rsync will be doing all the writing, so what I need to hack is the rsync writing routine, and not linux write(2).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call of Duty won't save settings... BDiddy Linux - Games 1 09-14-2005 11:10 PM
How to call another function from a function? geminigal Programming 4 04-21-2005 11:41 PM
python call function in same file(very newbie question) rmanocha Programming 2 11-21-2004 01:04 AM
how to call function?? harpal Programming 3 04-29-2003 06:59 AM
The Call to the Linux to save the People chingasman Linux - General 6 12-30-2002 01:57 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration