Home
last modified time | relevance | path

Searched refs:hints (Results 1 – 3 of 3) sorted by relevance

/third_party/ulib/musl/src/network/
A Dgethostbyname2_r.c15 struct addrinfo hints; in gethostbyname2_r() local
16 memset(&hints, 0, sizeof(struct addrinfo)); in gethostbyname2_r()
17 hints.ai_family = af; in gethostbyname2_r()
18 hints.ai_socktype = SOCK_STREAM; in gethostbyname2_r()
21 int eai = getaddrinfo(name, NULL, &hints, &addrinfo); in gethostbyname2_r()
/third_party/ulib/linenoise/
A Dexample.c14 char *hints(const char *buf, int *color, int *bold) { in hints() function
46 linenoiseSetHintsCallback(hints); in main()
A DREADME.markdown163 Linenoise has a feature called *hints* which is very useful when you
168 The feature shows, on the right of the cursor, as the user types, hints that
169 may be useful. The hints can be displayed using a different color compared
172 For example as the user starts to type `"git remote add"`, with hints it's
178 linenoiseSetHintsCallback(hints);
182 char *hints(const char *buf, int *color, int *bold) {

Completed in 4 milliseconds