c-file-style is a variable defined in `cc-vars.el'.
Its value is

  • Automatically becomes buffer-local when set.
  • This variable is safe as a file local variable if its value
    satisfies the predicate `string-or-null-p'.

Variable interface for setting style via File Local Variables.
In a file's Local Variable section, you can set this variable to a
string suitable for `c-set-style'. When the file is visited, CC Mode
will set the style of the file to this value automatically.

Note that file style settings are applied before file offset settings
as designated in the variable `c-file-offsets'.