Just recently started getting into OS X/iOS development and noticed several files have a "d" at the end. I.e launchd, accountsd, cloudd, assistantd, etc.. Not all have it just some. Just a quirky question I was pondering and figured if anyone knew the answer it would be you guys.
closed as off-topic by bmike♦ Nov 15 '15 at 18:42
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Basic Customer Support or questions asking to recommend or find off-site resources (Mac/book/software/tutorial) are off-topic for Ask Different as they tend to attract opinionated answers and spam. Instead, edit to clearly describe your problem and the research done so far to solve it." – bmike
Since OS X is in part based on FreeBSD here is relevant documentation from the FreeBSD Handbook's 3.8. Processes and Daemons...
"There is a convention to name programs that normally run as daemons with a trailing “d”. For example, BIND is the Berkeley Internet Name Domain, but the actual program that executes is named. The Apache web server program is httpd and the line printer spooling daemon is lpd. This is only a naming convention. For example, the main mail daemon for the Sendmail application is sendmail, and not maild."
Take note of the last two sentences from what I quoted, the trailing "d" is only a convention but as you can see with the example
sendmail is the mail daemon and doesn't have the trailing "d". There are also other daemons in Unix/Unix like OSes that do not use the trailing "d" for daemons however as a convention it is a good practice but not an absolute.
Because it is a Unix pseudo-standard that daemons use that convention. Of course you already knew that, based on the tags you applied to the question.