1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +00:00
serenity/Libraries
Read H ee5816b9c8 LibC: getprotoent() family of functions
This commit implements the getprotoent() family of functions, including

getprotoent()
getprotobyname()
getprotobynumber()
setprotoent()
endprotoent()

This implementation is very similar to the getservent family of functions,
which is what led to the discovery of a bug in the process of reading the aliases.
The ByteBuffer for the alias strings didn't include a null terminating character,
this was fixed for both the protoent and servent family of functions by appending a
null character to the end of them before adding them to the alias lists.
2020-04-18 10:11:55 +02:00
..
LibAudio LibAudio: Use NumericLimits<T> 2020-04-15 16:58:46 +02:00
LibBareMetal LibBareMetal: Accept a u16 type pointer in the appropriate IO functions 2020-04-15 12:35:10 +02:00
LibC LibC: getprotoent() family of functions 2020-04-18 10:11:55 +02:00
LibCore LibCore: Add Core::Timer::create_single_shot() 2020-04-07 23:01:43 +02:00
LibDebug LibDebug: Add ContinueBreakAtSyscall decision 2020-04-16 11:17:33 +02:00
LibELF Userland: Add "functrace" utility 2020-04-16 11:17:33 +02:00
LibGfx LibGfx: Add FloatPoint::to_int_point() 2020-04-16 21:11:13 +02:00
LibGUI LibGfx: Don't allow creating bitmaps whose sizes would overflow 2020-04-15 12:28:49 +02:00
LibIPC AK: Stop allowing implicit downcast with OwnPtr and NonnullOwnPtr 2020-04-05 11:32:30 +02:00
LibJS LibJS: Add Array.prototype.concat 2020-04-17 16:14:28 +02:00
LibLine LibLine: Avoid crashing if given empty suggestions 2020-04-15 16:38:25 +02:00
LibM LibM: Add (not very good) round() implementation 2020-04-15 19:11:53 +02:00
LibMarkdown Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
LibPCIDB Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
LibProtocol ProtocolServer+LibProtocol: Reject unhandled URLs instead of asserting 2020-04-04 20:01:36 +02:00
LibPthread Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
LibThread LibThread: Simplify the userspace Lock to remove CAS on unlock() 2020-04-13 12:33:42 +02:00
LibVT LibVT: Shift+Tab should generate ESC[Z 2020-04-11 21:09:47 +02:00
LibWeb LibWeb: Implement JS confirm() 2020-04-17 13:41:03 +02:00
LibX86 LibX86: Use MakeUnsigned<T> from AK instead of making a custom one 2020-04-15 16:58:46 +02:00
Makefile Build: Only look at SUBDIRS with Makefiles 2020-02-25 19:56:48 +01:00