Skip to content

Mo-way/c-abbrevs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

c-abbrevs

Abbreviations commonly used in C / Linux Kernel code.

I couldn't find this ressources on the web. If you found it, I'd be more than happy if you open an issue with the link! Thanks.

Inspired by:

XtoY style Linux functions

a, 🟡ASCII, as in atoi

n, 🟡network, as in aton

p, 🟡presentation/printable, as in pton

General abbrevs:

AF, 🟡address family, as in AF_INET

buf, 🟡buffer,

DGRAM, 🟡datagram, i.e. UDP

fd, 🟡file descriptor,

fda, 🟡file descriptor array,

fec, 🟡fast ethernet controller, e.g. Motorola MPC8xx

fp, 🟡file pointer,

i, 🟡iterator 🟡int, small scope

if, 🟡interface, network mostly

io, 🟡input/output,

ll, 🟡link-layer, as in sockaddr_ll

perout, 🟡periodic output,

pps, 🟡pulse per second,

ro, 🟡read-only,

m, 🟡memory, e.g. in malloc

sa, 🟡socketaddress, context dependend

sys, 🟡system, e.g. sys/socket.h

sysoff, 🟡Systemoffset, rare usage

uapi, 🟡Userpace API, Kernel, Summary

wr, 🟡write-read

About

Abbreviations commonly used in C / Linux code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published