Search Results

Search: Posts Made By: lacasa
3,577
Posted By lacasa
I got it!
I use "((ptr = creat (filename, S_IWGRP)) == -1) and it works.
Thanks.
3,577
Posted By lacasa
Hi I want to write to my output_file using: ...
Hi
I want to write to my output_file using:

if((fptr = creat(output_file, _S_IWRITE)) == -1)
{
printf("output_file..."..);
return (1);
}
for(...)
{
_write(fptr, buffer, BUF_SIZE);
}...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy