Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop GUI Develop Other
  • Category : Other
  • Tags :
  • Update : 2008-10-13
  • Size : 9.08kb
  • Downloaded :0次
  • Author :华***
  • About : 华羿
  • PS : If download it fails, try it again. Download again for free!
Download 1 (9.08kb)
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
Learn to lock and unlock files. # include & lt; Stdio. H> # include & lt; Unistd. H> # include & lt; An FCNTL. H> Int main () { Int fd Int I Struct { Char name [20] Uint ID Int the age } myrec Fd = open (" name ", O_RDWR | O_CREAT, 0755). If (fd == -1) return -1 Printf ("Input your name:") scanf(" % s", myrec.name) Printf ("Inpute your ID: ") scanf(" % d", &myrec.ID) Printf ("Input your age: ") scanf(" % d", &myrec.age) Lseek (fd, 0, SEEK_END) Lockf (fd, 1, 0) Write (fd, (void *) & myrec, sizeof (myrec)) Lockf (fd, 0, 0) Return 0 } Execute the command cc lock. C - o lock. Out Chmod + x lock. Out . / lock. Out
Packet file list
(Preview for download)
Packet : 59564924.rar filelist
4.doc
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.