{"id":20989994,"url":"https://github.com/robtillaart/devfull","last_synced_at":"2026-04-21T22:32:22.915Z","repository":{"id":41439366,"uuid":"468501906","full_name":"RobTillaart/DEVFULL","owner":"RobTillaart","description":"Arduino library for a /dev/full stream.","archived":false,"fork":false,"pushed_at":"2024-04-13T08:57:52.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T08:08:57.915Z","etag":null,"topics":["arduino","dev","full"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobTillaart.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"RobTillaart","custom":"https://www.paypal.me/robtillaart"}},"created_at":"2022-03-10T20:34:02.000Z","updated_at":"2024-11-06T18:46:52.000Z","dependencies_parsed_at":"2024-04-13T09:52:12.326Z","dependency_job_id":"a44d8c1d-525c-4a3a-b74f-b08643e8ddc2","html_url":"https://github.com/RobTillaart/DEVFULL","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobTillaart%2FDEVFULL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobTillaart%2FDEVFULL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobTillaart%2FDEVFULL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobTillaart%2FDEVFULL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobTillaart","download_url":"https://codeload.github.com/RobTillaart/DEVFULL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243401492,"owners_count":20285052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","dev","full"],"created_at":"2024-11-19T06:27:17.111Z","updated_at":"2026-04-21T22:32:22.909Z","avatar_url":"https://github.com/RobTillaart.png","language":"C++","funding_links":["https://github.com/sponsors/RobTillaart","https://www.paypal.me/robtillaart"],"categories":[],"sub_categories":[],"readme":"\n[![Arduino CI](https://github.com/RobTillaart/DEVFULL/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)\n[![Arduino-lint](https://github.com/RobTillaart/DEVFULL/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/DEVFULL/actions/workflows/arduino-lint.yml)\n[![JSON check](https://github.com/RobTillaart/DEVFULL/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/DEVFULL/actions/workflows/jsoncheck.yml)\n[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/DEVFULL.svg)](https://github.com/RobTillaart/DEVFULL/issues)\n\n[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/DEVFULL/blob/master/LICENSE)\n[![GitHub release](https://img.shields.io/github/release/RobTillaart/DEVFULL.svg?maxAge=3600)](https://github.com/RobTillaart/DEVFULL/releases)\n[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/DEVFULL.svg)](https://registry.platformio.org/libraries/robtillaart/DEVFULL)\n\n\n# DEVFULL\n\nArduino library for a /dev/full stream.\n\n\n## Description\n\n**Experimental**\n\nThe experimental library implements a stream class that mimics the **/dev/full**\ndevice of a Linux system. You can write nothing to it as it is always full.\nEvery read data will return the value zero, just like **/dev/zero**.\n\nCalls to **print()** and **println()** will be split up in multiple calls to **write()**.\nThis causes a return value of n x -28 ==\u003e mostly a number in the 65xxx range\n\nSee - https://en.wikipedia.org/wiki//dev/full\n\nfeedback as always is welcome.\n\n\n### Related\n\n- https://github.com/RobTillaart/DEVFULL\n- https://github.com/RobTillaart/DEVNULL\n- https://github.com/RobTillaart/DEVRANDOM\n\n\n## Interface\n\n```cpp\n#include \"DEVFULL.h\"\n```\n\n- **DEVFULL()** constructor, sets the timeout to zero.\n- **int available()** always return INT_MAX = platform dependant.\n- **int peek()** always returns 0.\n- **int read()** always returns 0.\n- **void flush()** does nothing but keeps some compilers happy.\n- **size_t write(const uint8_t data)** always returns -28 (ENOSPC == ERROR NO SPACE).\n- **size_t write(const uint8_t \\*buffer, size_t size)** implements print interface. \nAlways returns -28 (ENOSPC).\n\n\n## Error code\n\n| value | name    | description |\n|:------|:--------|:------------|\n| -28   | ENOSPC  | No space available for writing onto the \"storage device\". |\n\n\n## Operation\n\nUse with care.\n\nSee examples.\n\n\n## Future\n\n#### Must\n\n- improve documentation\n\n#### Should\n\n- improve code\n- test different platforms.\n\n#### Could\n\n#### Wont\n\n\n## Support\n\nIf you appreciate my libraries, you can support the development and maintenance.\nImprove the quality of the libraries by providing issues and Pull Requests, or\ndonate through PayPal or GitHub sponsors.\n\nThank you,\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobtillaart%2Fdevfull","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobtillaart%2Fdevfull","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobtillaart%2Fdevfull/lists"}