Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » filePutString

filePutString

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

long filePutString (char buff[], long buffsize, dword fileHandle);

Method Syntax (Dynamic)

long File::PutString(char buff[], long buffsize);

Description

This function writes a string in the specified file.

Parameters

  • buff: Buffer for the read-in string
  • buffsize: Number of characters
  • fileHandle: Handle to the file

Return Values

If an error occurs, the return value is 0, else 1.

Example

See File Functions Class: File