Path: blob/main/contrib/expat/lib/random_dev_urandom.h
213651 views
/*1__ __ _2___\ \/ /_ __ __ _| |_3/ _ \\ /| '_ \ / _` | __|4| __// \| |_) | (_| | |_5\___/_/\_\ .__/ \__,_|\__|6|_| XML parser78Copyright (c) 2026 Sebastian Pipping <[email protected]>9Licensed under the MIT license:1011Permission is hereby granted, free of charge, to any person obtaining12a copy of this software and associated documentation files (the13"Software"), to deal in the Software without restriction, including14without limitation the rights to use, copy, modify, merge, publish,15distribute, sublicense, and/or sell copies of the Software, and to permit16persons to whom the Software is furnished to do so, subject to the17following conditions:1819The above copyright notice and this permission notice shall be included20in all copies or substantial portions of the Software.2122THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,23EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF24MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN25NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,26DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR27OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE28USE OR OTHER DEALINGS IN THE SOFTWARE.29*/3031#if ! defined(RANDOM_DEV_URANDOM_H)32# define RANDOM_DEV_URANDOM_H 13334# include <stdbool.h>35# include <stddef.h> // for size_t3637bool writeRandomBytes_dev_urandom(void *target, size_t count);3839#endif // ! defined(RANDOM_DEV_URANDOM_H)404142