Home

root/tasks/task2.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. main

#include "kstructs.h"
#include "syscalls.h"
#include "lib.h"
#include "fat.h"

int main(void)
{
    FD fileDescriptor = creat("TEST.TXT");
    if (fileDescriptor != -1) {
        write(fileDescriptor, "1234\n", 5);
        close(fileDescriptor);
    }
    exit();
    return (0);
}

/* [<][>][^][v][top][bottom][index][help] */
Home