Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What %qu format stands for in printf()

Tags:

c

What %qu format stands for in printf(). Know that %u is unsigned, %qu never came across. When googled found all other formats apart from %qu

like image 795
Sushil Kumar Avatar asked Dec 21 '25 09:12

Sushil Kumar


1 Answers

It's not standard, it's used in some Unixes (mostly BSD) to represent an unsigned quadword (64 bits). Hence the q as a type modifier, like l for long.

like image 57
paxdiablo Avatar answered Dec 24 '25 00:12

paxdiablo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!