libs/bsd: Implement getentropy(2).
With generic_syscall to avoid using a FD. Change-Id: Id1702118bb673f06a861e4f0ad3401ce3d45cbd0 Reviewed-on: https://review.haiku-os.org/c/haiku/+/31 Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
d57510c0ff
commit
6bde05aebd
@@ -28,6 +28,8 @@ char *getusershell(void);
|
||||
int issetugid(void);
|
||||
void setusershell(void);
|
||||
|
||||
int getentropy(void *buf, size_t buflen);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user