<commit_before>// File:       stdlib/stdio.h
// Author:     vodozhaba
// Created on: Aug 21, 2016
// Purpose:    Provides standard I/O functions.

#pragma once

#include <stdarg.h>
#include "io/disk/file.h"

extern FileDescriptor* stdout;
extern FileDescriptor* stderr;

size_t StdoutWriteOp(FileDescriptor* file, size_t size, const void* buf);
size_t StderrWriteOp(FileDescriptor* file, size_t size, const void* buf);

int putchar(int character);
int _puts(const char* s);
int isspace (int c);
int fprintf(FileDescriptor* file,  const char* fmt, ...);
int vfprintf(FileDescriptor* file,  const char* fmt, va_list argss);
int printf(const char* fmt, ...);
int sprintf(char* dest, const char* fmt, ...);<commit_msg>Remove _puts<commit_after>// File:       stdlib/stdio.h
// Author:     vodozhaba
// Created on: Aug 21, 2016
// Purpose:    Provides standard I/O functions.

#pragma once

#include <stdarg.h>
#include "io/disk/file.h"

extern FileDescriptor* stdout;
extern FileDescriptor* stderr;

size_t StdoutWriteOp(FileDescriptor* file, size_t size, const void* buf);
size_t StderrWriteOp(FileDescriptor* file, size_t size, const void* buf);

int putchar(int character);
int isspace (int c);
int fprintf(FileDescriptor* file,  const char* fmt, ...);
int vfprintf(FileDescriptor* file,  const char* fmt, va_list argss);
int printf(const char* fmt, ...);
int sprintf(char* dest, const char* fmt, ...);
{'fraction_non_alphanumeric': 0.13133476088508209, 'fraction_numerical': 0.008565310492505354, 'mean_word_length': 4.519685039370079, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2818398', 'n_tokens_mistral': 487, 'n_tokens_neox': 468, 'n_words': 153}