]> Kevux Git Server - fll/commit
Feature: Add f_file_manipulate() as a wrapper for fcntl().
authorKevin Day <kevin@kevux.org>
Wed, 21 Jun 2023 01:54:31 +0000 (20:54 -0500)
committerKevin Day <kevin@kevux.org>
Wed, 21 Jun 2023 01:54:31 +0000 (20:54 -0500)
commit043f74a444ad450f74b890359ebc9f62f494f2ca
treeea3ce5854482384fcbdb65353b1a413e83070004
parente78f1de499b423616bea7f77c71aaa40a4b158d9
Feature: Add f_file_manipulate() as a wrapper for fcntl().

This also adds the unit tests.
The unit tests includes additional fixes where several of the wrapped functions are not being setup properly.
The fact that has not triggered an error in the past is concerning.
level_0/f_file/c/file.c
level_0/f_file/c/file.h
level_0/f_file/data/build/settings-mocks
level_0/f_file/data/build/settings-tests
level_0/f_file/tests/unit/c/mock-file.c
level_0/f_file/tests/unit/c/mock-file.h
level_0/f_file/tests/unit/c/test-file-manipulate.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-manipulate.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file.c
level_0/f_file/tests/unit/c/test-file.h