SFGETI(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– SFGETI β€” bestie edition πŸ’–

okay so this is SFGETI, a little routine from NCAR GRAPHICS (the manual is 3NCARG, iykyk), and honestly? she's giving "tell me the number, bestie." that's the whole vibe.


✨ NAME ✨

SFGETI β€” she's the one you call when you need to retrieve the current integer value of a specified parameter. that's it. that's her job. and she ate. πŸ’…


🌸 SYNOPSIS 🌸

CALL SFGETI (CNP, IVP)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/ncargC.h>

void c_sfgeti (char *cnp, int *ivp)

πŸ’œ DESCRIPTION πŸ’œ

so here's who's who in this little function friendship group:

  • CNP β€” an input expression of type CHARACTER, and she's gotta be one of the character strings 'AN', 'CH', 'DO', 'SP', or 'TY'. or β€” and this is the fun part β€” a longer string that just begins with one of those strings. no cap. those stand for "ANgle", "CHaracter", "DOts", "SPacing", and "TYpe", respectively. iconic abbreviations, honestly.
  • IVP β€” an output variable of type INTEGER, and it's literally the name of a variable that the value of the parameter specified by CNP gets retrieved into. 🫢 and here's a lil plot twist: if the internal parameter is inherently a real value "r", then "INT(r)" will be returned as the value of IVP. so she's rounding for you. generous queen. ✨

πŸŽ€ C-BINDING DESCRIPTION πŸŽ€

the C-binding argument descriptions are the same as the FORTRAN argument descriptions. literally a copy-paste situation, no notes. πŸ’€


πŸ”₯ USAGE πŸ”₯

this routine lets you retrieve the current integer value of Softfill parameters. that's the whole point of her existence and she's thriving.

and bestie, if you want the complete list of parameters available in this utility, go read the softfill_params man page. she has the receipts. πŸ“œ


πŸ‘‘ ACCESS πŸ‘‘

to use SFGETI or c_sfgeti, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” and preferably in that order. order matters, bestie, don't be chaotic about it. 🌈


πŸ’Œ MESSAGES πŸ’Œ

see the softfill man page for a description of all Softfill error messages and/or informational messages. she'll tell you if something's up, fr fr. πŸ“¬


🧚 SEE ALSO 🧚

Online:

  • softfill
  • softfill_params
  • sfgetc
  • sfgetp
  • sfgetr
  • sfsetc
  • sfseti
  • sfsetp
  • sfsetr
  • sfsgfa
  • sfwrld
  • ncarg_cbind

Hardcopy:

  • NCAR Graphics Fundamentals, UNIX Version

the whole friend group. go say hi. 🫢✨


Copyright (C) 1987-2009
University Corporation for Atmospheric Research

the use of this Software is governed by a License Agreement. read it, bestie. protect yourself. πŸ’…


and that's the tea, babe β€” SFGETI, from the UNIX manual, dated March 1993, page SFGETI(3NCARG). she's old, she's iconic, and she still slays. πŸŽ€βœ¨πŸ’–
πŸ“¦ where this page comes from