Black holes are where God divided by zero.
- Steven Wright
News
Site News
Latest Comments
Affiliates
Proxies
Contribute!
Chat
Tutorials
Newest Articles
Most Popular
Highest Rated
Latest Comments
Code Samples
Newest Code
Most Popular
Highest Rated
Latest Comments
Blogs
Admins Blog
Newest Blogs
Most Popular
Highest Rated
Latest Comments
Forums
Latest Posts
Latest Topics
Memberlist
[login]
|
[Register]
Open and Write System Call
by: suhas
Description:
This program is using the file system that uses open and write system call.
Code:
#include
#include
main() { char *p = \"hello world\\n\"; int fp; fp = open(\"hello.c\",O_CREAT,0666); write(fp,p,11); fork(); }
No Comments for this page.
You Must be
signed in
or a
member
to comment.
Code Stats
13,475
Views
0
Total Comments
0
Rating of 5 (
6
Votes)
Code Options
·
Login to Rate This Code
·
Login to Post a Comment
·
Read more by this author
Related
·
Bit Multiplication
·
Hello World
·
Gross Pay
·
Fat Percentage
·
Commission
"AllSyntax.com" Copyright © 2002-2021; All rights lefted, all lefts righted.
Privacy Policy