GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LIBOWFAT_OPEN_TRUNC (3)

NAME

open_trunc - open a file for writing

CONTENTS

Syntax
Description

SYNTAX

#include <open.h>

int open_trunc(const char *filename);

DESCRIPTION

open_trunc opens the file filename for write-only use and returns the file handle. If the file exists, it will be truncated to zero bytes length. If it does not exist, it will be created with mode 0644. If there was an error opening or creating the file, open_trunc returns -1 and sets errno accordingly.

SEE ALSO

open(2)
Search for    or go to Top of page |  Section 3 |  Main Index


OPEN_TRUNC (3) -->

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.