Thread: lock and unlock

  1. #1
    Registered User
    Join Date
    Dec 2006

    lock and unlock

    hi all
    how can i lock, a file(name.txt) using c.(programatically)
    and unlock.

    help me
    thank you in advance

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    I dunno - shall we play a game?

    It's called "Guess the OS and Compiler".
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    k, I'm game.

    DevC++ and Windows XP

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Thread safe double linked list
    By ShwangShwing in forum C Programming
    Replies: 7
    Last Post: 06-02-2009, 10:55 AM
  2. Replies: 10
    Last Post: 07-17-2008, 11:21 AM
  3. gap between an unlock and a lock..
    By underthesun in forum C++ Programming
    Replies: 7
    Last Post: 06-17-2008, 12:51 AM
  4. Smart pointer class
    By Elysia in forum C++ Programming
    Replies: 63
    Last Post: 11-03-2007, 07:05 AM
  5. [shouting] Does anybody have an example of using lock and unlock? [/shouting]
    By incognito in forum A Brief History of
    Replies: 4
    Last Post: 05-16-2002, 02:50 PM